Commit 69dcba36 authored by wangkx1's avatar wangkx1
Browse files

Update readme.md

parent 52a8302d
......@@ -8,8 +8,10 @@ pip install onnx-simplifier
```
```python
# 简化模型
python -m onnxsim ../resnet50.onnx ../resnet50_1x3x224x224.onnx --test-input-shape input:1,3,224,224
# 动态shape变成静态shape
python -m onnxsim ./${model_name}_simply.onnx ./${model_name}_simply_1x3x32x900.onnx --overwrite-input-shape x:1,3,32,900
# 查看详细帮助内容
python -m onnxsim -h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment