Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle2ONNX
Browse files Browse the repository at this point in the history
…into fix_assign_value_op_bug
  • Loading branch information
risemeup1 committed Aug 15, 2024
2 parents bf83de9 + 4ca0809 commit 714585a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ paddle2onnx --model_dir saved_inference_model \
如你对导出的 ONNX 模型有优化的需求,推荐使用 `onnx-simplifier`,也可使用如下命令对模型进行优化

```
python -m paddle2onnx.optimize --input_model model.onnx --output_model new_model.onnx
pip install onnxslim
onnxslim model.onnx slim.onnx
```

# 5 代码贡献
Expand Down
5 changes: 5 additions & 0 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ If you need to adjust ONNX models, please refer to [ONNX related tools](./tools/

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.

```
pip install onnxslim
onnxslim model.onnx slim.onnx
```

# 5 Code Contribution

A thriving ecosystem requires everyone's collaborative efforts. Developers can refer to the [Paddle2ONNX Contribution Guide](./docs/zh/Paddle2ONNX_Development_Guide.md) to contribute code to Paddle2ONNX.
Expand Down

0 comments on commit 714585a

Please sign in to comment.