Open Monalsingh opened 2 years ago
@Monalsingh Hi, if you're using mmdeploy-sdk to do inference, you have to add --dump-info
while calling tools/deploy.py
and build mmdeploy-sdk from source by following get_started.
Besides, you can implement the decoding part yourself by referring to https://github.com/open-mmlab/mmpose/blob/7616b62eabdfed9cbd02fbbfa9411ff37e072be7/mmpose/models/heads/topdown_heatmap_base_head.py#L40.
Hi, @Monalsingh I am afraid that MMDeploy cannot meet your requirement.
PoseDetector
in mmdeploy_python package doesn't provide API to convert heatmap to keypoint.
You can either make mmdeploy as a backend of Triton server or implement keypoint extraction in your client.
Hello,
I have converted a MMPose model into onnx using the below command:
Now the thing is I am serving the model in Triton interface so I need to inference the model using the Triton way. That step is done.
The problem is the output of the ONNX model inference is of size (1, 17, 64, 48). I cannot do inference with 'from mmdeploy_python import PoseDetector'.
Is there a way or function available to convert heatmap to keypoint.
Input: heatmap output: keypoint.
Thanks, Monal