Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] rtmpose Quantization #3148

Open
mailuo1988 opened this issue Oct 30, 2024 · 1 comment
Open

[Feature] rtmpose Quantization #3148

mailuo1988 opened this issue Oct 30, 2024 · 1 comment

Comments

@mailuo1988
Copy link

What is the feature?

The accuracy of the RTMPose model drops significantly when quantized to INT8 for inference, while INT16 inference is acceptable. Are there any solutions?

Any other context?

No response

@shivaa-36
Copy link

shivaa-36 commented Dec 9, 2024

I was unable to run the quantized RTMpose because mmdeploy was giving an error. I have tried FP16 and int8. but cant run. How were you able to do that.

`loading libmmdeploy_ort_net.so ...
[2024-12-09 11:26:50.776] [mmdeploy] [info] [model.cpp:35] [DirectoryModel] Load model: "rtmpose-ort/rtmpose-m-choosen/"

[2024-12-09 11:26:50.776] [mmdeploy] [info] [model.cpp:35] [DirectoryModel] Load model: "rtmpose-ort/rtmdet-nano/"

[2024-12-09 11:26:51.153] [mmdeploy] [info] [inference.cpp:54] ["img"] <- ["data"]

[2024-12-09 11:26:51.153] [mmdeploy] [info] [inference.cpp:65] ["post_output"] -> ["dets"]

[2024-12-09 11:26:51.280] [mmdeploy] [info] [inference.cpp:54] ["img"] <- ["rois"]

[2024-12-09 11:26:51.280] [mmdeploy] [info] [inference.cpp:65] ["post_output"] -> ["keypoints"]

[2024-12-09 11:26:51.998] [mmdeploy] [error] [tensor.cpp:137] mismatched data type FLOAT vs HALF

terminate called without an active exception

Aborted (core dumped)`

@mailuo1988
can you explain the steps you took to run rtmpose fp16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants