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

movenet tensorflowjs uint8量化 #29

Open
Codekang opened this issue Jul 22, 2022 · 1 comment
Open

movenet tensorflowjs uint8量化 #29

Codekang opened this issue Jul 22, 2022 · 1 comment

Comments

@Codekang
Copy link

大神,请教一下,你是否有尝试过实现movenet模型的量化,比如在hub上提供的tensorflowjs 模型是半精度的即float16的,你这边是否有再进一步量化成uint8精度的?若有,请问是怎么操作的?效果如何?

@fire717
Copy link
Owner

fire717 commented Jul 26, 2022

半精度应该不会掉点,这个当时没有尝试,后面其它项目做了。uint8尝试过Post-Training Quantization,文章提到了,掉点严重,因为本身就是小网络,而且任务比较敏感。使用Quantization Aware Training来进行量化应该会好一些,官方的tflite应该也是这样,只是当时PyTorch貌似不支持QAT,也就没有做了。

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