Update readme to fit new project structure (#2548)

Co-authored-by: lanzongwei.lan <lanzongwei.lan@bytedance.com>
pull/2570/head snapshot-20231113.1021
lzw 2023-11-13 13:19:18 +08:00 committed by GitHub
parent 1a064cdf1a
commit dd759a24f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -82,10 +82,10 @@ Standalone script to Convert a PyTorch ResNet18 model to MLIR and run it on the
```shell
# Get the latest example if you haven't checked out the code
wget https://raw.githubusercontent.com/llvm/torch-mlir/main/examples/torchscript_resnet18.py
wget https://raw.githubusercontent.com/llvm/torch-mlir/main/projects/pt1/examples/torchscript_resnet18.py
# Run ResNet18 as a standalone script.
python examples/torchscript_resnet18.py
python projects/pt1/examples/torchscript_resnet18.py
load image from https://upload.wikimedia.org/wikipedia/commons/2/26/YellowLabradorLooking_new.jpg
Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /home/mlir/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth