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

the precision a4w4 of training MobilenetV2 is nearly 0 #17

Open
talenz opened this issue Mar 18, 2021 · 4 comments
Open

the precision a4w4 of training MobilenetV2 is nearly 0 #17

talenz opened this issue Mar 18, 2021 · 4 comments

Comments

@talenz
Copy link

talenz commented Mar 18, 2021

I use the official MobilenetV2 in the torchvision.models.

Are there any special tricks to train mobilenet_v2?

@yhhhli
Copy link
Owner

yhhhli commented Mar 20, 2021

Hi,

training MobilenetV2 requires you to implement (signed) asymmetric quantization for activations. Since the last layer of the inverted Residual Bottleneck block does not have ReLU function, therefore, its activation is signed.

Thanks.

@talenz
Copy link
Author

talenz commented Apr 20, 2021

Thanks for your reply! Is it possible (how?) to use per-channel weight quantization in your APOT to boost the performance?

@Yoggiefu
Copy link

Yoggiefu commented Apr 7, 2023

Dear talenz, how about your quantization result on mbv2?

@Yoggiefu
Copy link

Yoggiefu commented Apr 7, 2023

@talenz

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

3 participants