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

Quantization doesn't work? #31

Open
praneet195 opened this issue Mar 25, 2022 · 1 comment
Open

Quantization doesn't work? #31

praneet195 opened this issue Mar 25, 2022 · 1 comment

Comments

@praneet195
Copy link

praneet195 commented Mar 25, 2022

Hi,

So I tried running your code on CIFAR-10 with a pre-trained ResNet50 model. I've attached the code below.
My accuracy however does not come nearly as close to the float model which is around 93% but after quanitzation: I get:

  • Accuracy of the network on the 10000 test images: 10.0 % top5: 52.28 %

Please help me with this. The code is inside the zip file.

main_cifar.zip
s

@mj0219
Copy link

mj0219 commented Apr 9, 2024

Hi,

So I tried running your code on CIFAR-10 with a pre-trained ResNet50 model. I've attached the code below. My accuracy however does not come nearly as close to the float model which is around 93% but after quanitzation: I get:

  • Accuracy of the network on the 10000 test images: 10.0 % top5: 52.28 %

Please help me with this. The code is inside the zip file.

main_cifar.zip s

I encountered the same issue when using my pretrained model resnet18 on CIFAR-10 for experiments. The accuracy is only about ten percent. Have you resolved this?

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