aaron-xichen / pytorch-playground

Base pretrained models and datasets in pytorch (MNIST, SVHN, CIFAR10, CIFAR100, STL10, AlexNet, VGG16, VGG19, ResNet, Inception, SqueezeNet)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error accuracy

TangKun1234 opened this issue · comments

I download the alexnet model from (https://download.pytorch.org/models/alexnet-owt-4df8aa71.pth) and evaluate the model by the val224_compressed.pkl with quantize.py , but the accuracy only 0.5397. Why?

The default setting will quantize the weights with 8bits and activation with 8bits.