diff --git a/examples/pytorch/README.md b/examples/pytorch/README.md index d73e1bd..24aaa69 100644 --- a/examples/pytorch/README.md +++ b/examples/pytorch/README.md @@ -40,7 +40,7 @@ cd .. ```bash cd netrans/ -cd examples/onnx +cd examples/pytorch ``` 此时目录如下: @@ -58,10 +58,11 @@ resnet50/ 示例目录如下: ``` -onnx/ +pytorch/ └── resnet50 - ├── 0.jpg - ├── dataset.txt + ├── export_resnet50_2_onnx.py + ├── dataset.txt + ├── dog.jpg └── resnet50.onnx ``` @@ -171,5 +172,6 @@ resnet50/ ### 3.2 使用 netrans_py 转换 onnx 示例模型 resnet50 ```bash +cd .. example.py resnet50 -q uint8 -m 0 -s 0.003921568627 ```