问题描述 Please describe your issue
python tools/export_model.py -c configs/rtdetrv2/rtdetrv2_r18vd_120e_coco.yml
-o weights=https://bj.bcebos.com/v1/paddledet/models/rtdetrv2_r18vd_120e_coco.pdparams
-o export_onnx=True
--output_dir=output_inference
paddle2onnx --model_dir=./output_inference/rtdetrv2_r18vd_120e_coco/
--model_filename model.pdmodel
--params_filename model.pdiparams
--opset_version 16
--save_file rtdetrv2_r18vd_120e_coco_paddle.onnx
I used the conversion command to export the ONNX model.
The obtained inputs/output of shapes:
inputs:
im_shape:[p2o.DynamicDimension.0, 2]
image:[p2o.DynamicDimension.1, 3, 640, 640]
scale_factor:[p2o.DynamicDimension.2, 2]
output:
save_infer_model/scale_0.tmp_0:[p2o.DynamicDimension.3, 6]
save_infer_model/scale_1.tmp_0:[]
Is this normal? How to use this model for reasoning?