Closed Billccx closed 9 months ago
hi, could you try with official docker image? It works fine with the official model config and ckpt. You may have to check what you've changed.
python3 ./tools/deploy.py configs/mmpose/pose-detection_simcc_onnxruntime_dynamic.py \
../mmpose/configs/body_2d_keypoint/rtmpose/coco/rtmpose-l_8xb256-420e_aic-coco-256x192.py \
https://download.openmmlab.com/mmpose/v1/projects/rtmposev1/rtmpose-l_simcc-aic-coco_pt-aic-coco_420e-256x192-f016ffe0_20230126.pth \
"../mmpose/tests/data/coco/000000000785.jpg" \
--work-dir ../test_rtmpose/ \
--device cuda:0 \
--log-level INFO \
--test-img ./demo/resources/human-pose.jpg
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.
请问你转换的时候有没有遇到这个问题? WARNING: The shape inference of prim::Constant type is missing, so it may result in wrong shape inference for the exported graph. Please consider adding it in symbolic function. WARNING: The shape inference of prim::Constant type is missing, so it may result in wrong shape inference for the exported graph. Please consider adding it in symbolic function. WARNING: The shape inference of prim::Constant type is missing, so it may result in wrong shape inference for the exported graph. Please consider adding it in symbolic function. WARNING: The shape inference of prim::Constant type is missing, so it may result in wrong shape inference for the exported graph. Please consider adding it in symbolic function. WARNING: The shape inference of prim::Constant type is missing, so it may result in wrong shape inference for the exported graph. Please consider adding it in symbolic function. WARNING: The shape inference of prim::Constant type is missing, so it may result in wrong shape inference for the exported graph. Please consider adding it in symbolic function. 2024-07-17:20:49:10 - root - ERROR - 'InstanceData' object has no attribute 'bbox_centers'
Checklist
Describe the bug
您好,我尝试将rtmpose模型转换为onnx格式时,出现了visualize onnxruntime model failed.导致转换停止。
Reproduction
您好,我尝试运行以下命令尝试将rtmpose模型转换为onnx格式:
出现了以下报错:
请问这是什么原因造成的呢?希望得到您团队的回复,谢谢!
Environment
Error traceback
No response