优化example使用说明,需要返回上级目录不能直接在项目目录执行

This commit is contained in:
xujiao 2025-07-21 09:20:46 +08:00
parent 955ed723ca
commit 08ab84e8c7
1 changed files with 6 additions and 4 deletions

View File

@ -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
```