MMpose .pth models to .onnx #668
Unanswered
Monalsingh
asked this question in
Q&A
Replies: 1 comment
-
@Monalsingh Hi, sorry for the late reply. for mmpose models, you should use the right deploy config: configs/mmpose/pose-detection_tensorrt_static-256x192.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am trying to convert the top-down pose model (mobilenetv2 & hrnet) present in MMpose to ONNX format. I was not able to convert it as its saying mmdeploy - ERROR - 'TopDown is not in the model's registry'. Is there a way to do so?
Command used:
python ${MMDEPLOY_DIR}/tools/torch2onnx.py \ ${MMDEPLOY_DIR}/configs/mmdet/detection/detection_tensorrt_dynamic-320x320-1344x1344.py \ /home/monal/mmpose/configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hrnet_w32_coco_256x192.py \ ${CHECKPOINT_DIR}/hrnet_w32_coco_256x192-c78dce93_20200708.pth \ ${MMDET_DIR}/demo/demo.jpg \ ${WORK_DIR}/mobilenetv2.onnx
Output:
Beta Was this translation helpful? Give feedback.
All reactions