BRECQ icon indicating copy to clipboard operation
BRECQ copied to clipboard

Quantization doesn't work?

Open praneet195 opened this issue 2 years ago • 1 comments

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

praneet195 avatar Mar 25 '22 20:03 praneet195

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?

mj0219 avatar Apr 09 '24 09:04 mj0219