The PaddlePaddle version of YOLOv3.
It is recommended to use fastdeploy.
Model | Download | Shape(hw) |
---|---|---|
yolov3_mobilenet_v3_270e_coco | 91MB | 320 320 |
- Convert to onnx
python3 paddle_infer_shape.py \
--model_dir . \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
--save_dir new_model \
--input_shape_dict \
"{'scale_factor':[1,2],'image':[1,3,320,320], 'im_shape':[1,2]}"
paddle2onnx --model_dir new_model \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
--opset_version 13 \
--save_file yolov3_mobilenet_v3_270e_coco.onnx
Apache 2.0