open-mmlab / mmdeploy

OpenMMLab Model Deployment Framework
https://mmdeploy.readthedocs.io/en/latest/
Apache License 2.0
2.71k stars 620 forks source link

About rotated detection onnxruntime visual model #1106

Open DDGRCF opened 1 year ago

DDGRCF commented 1 year ago

Checklist

Describe the bug

Convert the model success! But fail in visualize

Reproduction

python tools/deploy.py configs/mmrotate/rotated-detection_onnxruntime_static.py ${MMROTATE_DIR}/configs/rotated_retinanet/rotated_retinanet_obb_r50_fpn_1x_dota_le135.py   \
https://download.openmmlab.com/mmrotate/v0.1.0/rotated_retinanet/rotated_retinanet_obb_r50_fpn_1x_dota_le135/rotated_retinanet_obb_r50_fpn_1x_dota_le135-e4131166.pth  \
${MMROTATE_DIR}/mmrotate/demo/demo.jpg --test-img ${MMROTATE_DIR}/demo/demo.jpg --work-dir work_dirs/rotated_retinna_onnx --dump-info --device  cpu

Environment

* ubuntu: 22.04
* cuda: 11.1
* mmdeploy: latest
* onnxruntime: 1.8.1

Error traceback

截图 2022-09-26 21-18-39

tpoisonooo commented 1 year ago

@lvhan028