Fixes
This commit is contained in:
@@ -38,16 +38,16 @@ Generate the ONNX model file (example for PP-YOLOE+_s)
|
||||
|
||||
```
|
||||
pip3 install onnx onnxsim onnxruntime
|
||||
python3 export_ppyoloe.py -w ppyoloe_plus_crn_s_80e_coco.pdparams -c configs/ppyoloe/ppyoloe_plus_crn_s_80e_coco.yml --simplify --dynamic
|
||||
python3 export_ppyoloe.py -w ppyoloe_plus_crn_s_80e_coco.pdparams -c configs/ppyoloe/ppyoloe_plus_crn_s_80e_coco.yml --dynamic
|
||||
```
|
||||
|
||||
**NOTE**: To simplify the ONNX model
|
||||
**NOTE**: To simplify the ONNX model (DeepStream >= 6)
|
||||
|
||||
```
|
||||
--simplify
|
||||
```
|
||||
|
||||
**NOTE**: To use dynamic batch-size
|
||||
**NOTE**: To use dynamic batch-size (DeepStream >= 6)
|
||||
|
||||
```
|
||||
--dynamic
|
||||
@@ -59,7 +59,7 @@ python3 export_ppyoloe.py -w ppyoloe_plus_crn_s_80e_coco.pdparams -c configs/ppy
|
||||
--batch 4
|
||||
```
|
||||
|
||||
**NOTE**: If you are using DeepStream 5.1, use opset 12 or lower. The default opset is 11.
|
||||
**NOTE**: If you are using DeepStream 5.1, remove the `--dynamic` arg and use opset 12 or lower. The default opset is 11.
|
||||
|
||||
```
|
||||
--opset 12
|
||||
|
||||
Reference in New Issue
Block a user