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

8-bit quantized models for the hand tracking #3388

Open
freesokim opened this issue May 31, 2022 · 5 comments
Open

8-bit quantized models for the hand tracking #3388

freesokim opened this issue May 31, 2022 · 5 comments
Assignees
Labels
legacy:hands Hand tracking/gestures/etc platform:python MediaPipe Python issues stat:awaiting googler Waiting for Google Engineer's Response type:feature Enhancement in the New Functionality or Request for a New Solution

Comments

@freesokim
Copy link

freesokim commented May 31, 2022

Please make sure that this is a feature request.

System information (Please provide as much relevant information as possible)

  • MediaPipe Solution (you are using): Hand Tracking (Palm detection, Hand Landmark)
  • Programming language : C++/Python/Android Java

I think MediaPipe hand tracking is a highly efficient ML solution that runs in real-time.

Becasue the hand tracking is the 32-bit floating type ML model,
I have to use the GPU delegate supporting the 32-bit floating computation to accelerate the hand tracking on edge device.
(I know that there are only 32-bit floating point models for MediaPipe ML solutions except for object detection and face detection)

However, GPU is very expensive and the edge devices have limited resource and computational power.
So we need to use the NPU delegate for the edge devices, and almost of NPU (ex. Edge TPU and Hexagon NPU) require a fully 8-bit quantized model as the input.

Do you have a plan to release the fully 8-bit quantized models for hand tracking (palm and hand landmark)?

Thank you.

@freesokim freesokim added the type:feature Enhancement in the New Functionality or Request for a New Solution label May 31, 2022
@Stephenfang51
Copy link

@freesokim hello sir
I have same demand with you, i remember you mentioned the
PINTO_model_zoo provided the quantized model, is it a fully int8 model ? thanks !

@sureshdagooglecom sureshdagooglecom added legacy:hands Hand tracking/gestures/etc platform:python MediaPipe Python issues labels Jun 2, 2022
@sureshdagooglecom
Copy link

sureshdagooglecom commented Jun 2, 2022

Hi @Stephenfang51 .
This is a feature and We have similar issue ,could you please check this issue.

@sureshdagooglecom sureshdagooglecom added the stat:awaiting response Waiting for user response label Jun 2, 2022
@freesokim
Copy link
Author

@Stephenfang51
Hi, Sorry for late reply.
I think PINTO_model_zoo provide the 8-bit quantized models, but I have not tried them yet.
My question is google have any plan to release the official 8-bit quantized models for the hand tracking.
Thanks.

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting for user response label Jun 9, 2022
@freesokim
Copy link
Author

freesokim commented Jun 9, 2022

@Stephenfang51
Do you mean that google don't have any release plan for quantized model?
Thanks.

@kuaashish kuaashish added the stat:awaiting googler Waiting for Google Engineer's Response label Nov 11, 2022
@dubrovin-sudo
Copy link

I also have this question. Is google have any plan to release the official 8-bit quantized models for the hand tracking?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy:hands Hand tracking/gestures/etc platform:python MediaPipe Python issues stat:awaiting googler Waiting for Google Engineer's Response type:feature Enhancement in the New Functionality or Request for a New Solution
Projects
None yet
Development

No branches or pull requests

6 participants