Inference with customised MMPose. #2662
-
Hi all, I trained top-down heatmap-based MMPose on customised keypoint detection problem. I'm seeing two ways in which a trained model is used for inference.
Could someone clarify what the recommended way is, and why? I believe # 2 requires person detection model, while # 1 doesn't? If the detection model is needed, can a pretrained Any insights and clarifications are greatly appreciated, thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
For the first scenario, the image input MMPoseInferencer will automatically use a human detector if you're using top-down pose estimators. Thus, if you want to conduct pose estimation in a multi-person scenario, using the second method is recommended. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer. In my use-case I only need to detect keypoints on images of individual people. Going by your response, I should use method 1, which utilises mmdeploy. Just to double check, when using that method, I don't need to train my own human detector, do I? A whole image is treated as a bounding box, right? |
Beta Was this translation helpful? Give feedback.
-
Ah, one more related question... :-) When utilising mmdeploy, there are functionalities that support input preparation, e.g.
If I use |
Beta Was this translation helpful? Give feedback.
-
Hello, me again. :-) I tried to carry out inference with
However, I get:
Does it mean that if I want to make an inference with a custom model, I have to have mmpose installed from source and included in any deployment package? |
Beta Was this translation helpful? Give feedback.
For the first scenario, the image input
mmdeploy/demo/resources/human-pose.jpg
is a cropped picture with only one person.MMPoseInferencer will automatically use a human detector if you're using top-down pose estimators. Thus, if you want to conduct pose estimation in a multi-person scenario, using the second method is recommended.