Skip to content

Commit

Permalink
Update ONNX conversion readme_ch.md (PaddlePaddle#11030)
Browse files Browse the repository at this point in the history
* Update ONNX conversion readme_ch.md

Fixed command line argument path

* Update ONNX conversion readme.md
  • Loading branch information
greyovo authored and jzhang533 committed Mar 28, 2024
1 parent 736e0df commit 4e22cc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions deploy/paddle2onnx/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ paddle2onnx --model_dir ./inference/en_PP-OCRv3_rec_infer \
--enable_onnx_checker True
paddle2onnx --model_dir ./inference/ch_ppocr_mobile_v2.0_cls_infer \
--model_filename ch_ppocr_mobile_v2.0_cls_infer/inference.pdmodel \
--params_filename ch_ppocr_mobile_v2.0_cls_infer/inference.pdiparams \
--save_file ./inferencecls_onnx/model.onnx \
--model_filename inference.pdmodel \
--params_filename inference.pdiparams \
--save_file ./inference/cls_onnx/model.onnx \
--opset_version 10 \
--input_shape_dict="{'x':[-1,3,-1,-1]}" \
--enable_onnx_checker True
Expand Down
6 changes: 3 additions & 3 deletions deploy/paddle2onnx/readme_ch.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ paddle2onnx --model_dir ./inference/ch_PP-OCRv3_rec_infer \
--enable_onnx_checker True
paddle2onnx --model_dir ./inference/ch_ppocr_mobile_v2.0_cls_infer \
--model_filename ch_ppocr_mobile_v2.0_cls_infer/inference.pdmodel \
--params_filename ch_ppocr_mobile_v2.0_cls_infer/inference.pdiparams \
--save_file ./inferencecls_onnx/model.onnx \
--model_filename inference.pdmodel \
--params_filename inference.pdiparams \
--save_file ./inference/cls_onnx/model.onnx \
--opset_version 10 \
--input_shape_dict="{'x':[-1,3,-1,-1]}" \
--enable_onnx_checker True
Expand Down

0 comments on commit 4e22cc1

Please sign in to comment.