From 08ab84e8c7cd8141ef751f55bd613091272664a5 Mon Sep 17 00:00:00 2001 From: xujiao Date: Mon, 21 Jul 2025 09:20:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96example=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E8=AF=B4=E6=98=8E,=E9=9C=80=E8=A6=81=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E4=B8=8A=E7=BA=A7=E7=9B=AE=E5=BD=95=E4=B8=8D=E8=83=BD=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E5=9C=A8=E9=A1=B9=E7=9B=AE=E7=9B=AE=E5=BD=95=E6=89=A7?= =?UTF-8?q?=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/pytorch/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 ```