未验证 提交 36f34116 编写于 作者: S shangliang Xu 提交者: GitHub

[docs] fix ppyoloe export onnx err, test=document_fix (#7200)

上级 4ac136a4
......@@ -137,7 +137,7 @@ If you want to export PP-YOLOE model to **ONNX format**, use following command r
```bash
# export inference model
python tools/export_model.py -c configs/ppyoloe/ppyoloe_plus_crn_l_80e_coco.yml --output_dir=output_inference -o weights=https://paddledet.bj.bcebos.com/models/ppyoloe_plus_crn_l_80e_coco.pdparams
python tools/export_model.py -c configs/ppyoloe/ppyoloe_plus_crn_l_80e_coco.yml --output_dir=output_inference -o weights=https://paddledet.bj.bcebos.com/models/ppyoloe_plus_crn_l_80e_coco.pdparams trt=True
# install paddle2onnx
pip install paddle2onnx
......
......@@ -139,7 +139,7 @@ python tools/export_model.py -c configs/ppyoloe/ppyoloe_plus_crn_l_80e_coco.yml
```bash
# 导出推理模型
python tools/export_model.py -c configs/ppyoloe/ppyoloe_plus_crn_l_80e_coco.yml --output_dir=output_inference -o weights=https://paddledet.bj.bcebos.com/models/ppyoloe_plus_crn_l_80e_coco.pdparams
python tools/export_model.py -c configs/ppyoloe/ppyoloe_plus_crn_l_80e_coco.yml --output_dir=output_inference -o weights=https://paddledet.bj.bcebos.com/models/ppyoloe_plus_crn_l_80e_coco.pdparams trt=True
# 安装paddle2onnx
pip install paddle2onnx
......
......@@ -14,7 +14,6 @@ Distillation:
Quantization:
use_pact: true
onnx_format: True
activation_quantize_type: 'moving_average_abs_max'
quantize_op_types:
- conv2d
......
......@@ -14,7 +14,6 @@ Distillation:
Quantization:
use_pact: true
onnx_format: True
activation_quantize_type: 'moving_average_abs_max'
quantize_op_types:
- conv2d
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册