Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #1345

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ paddle2onnx --model_dir saved_inference_model \

## 4.5 优化ONNX

如你对导出的 ONNX 模型有优化的需求,推荐使用 `onnx-simplifier`,也可使用如下命令对模型进行优化

如你对导出的 ONNX 模型有优化的需求,推荐使用 `onnx-simplifier`,也可使用第三方优化工具[onnxslim](https://github.com/inisis/OnnxSlim)对模型进行优化
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议把 onnx-simplifier 和 OnnxSlim 这两个项目分开两段来写,你可以把 onnxslim 写前面,把 onnx-simplifier 写后面

```
Zheng-Bicheng marked this conversation as resolved.
Show resolved Hide resolved
pip install onnxslim
onnxslim model.onnx slim.onnx
```


# 5 代码贡献

繁荣的生态需要大家的携手共建,开发者可以参考 [Paddle2ONNX 贡献指南](./docs/zh/Paddle2ONNX_Development_Guide.md) 来为 Paddle2ONNX 贡献代码。
Expand Down
3 changes: 1 addition & 2 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ If you need to adjust ONNX models, please refer to [ONNX related tools](./tools/

## 4.5 Optimize ONNX

If you have optimization needs for the exported ONNX model, we recommend using `onnx-simplifier`. You can also optimize the model using the following command.

If you have optimization needs for the exported ONNX model, we recommend using `onnx-simplifier`. You can also optimize the model using third-party tool [onnxslim](https://github.com/inisis/OnnxSlim).
```
pip install onnxslim
onnxslim model.onnx slim.onnx
Expand Down