Skip to content

rtdetrv2 onnx export problem. save_infer_model/scale_1.tmp_0 save_infer_model/scale_0.tmp_0 #9459

@Jiangyi-chen

Description

@Jiangyi-chen

问题描述 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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions