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 accuracy of pytorch official model is 0.3% lower than full precision #14

Open
talenz opened this issue Nov 27, 2020 · 1 comment
Open

Comments

@talenz
Copy link

talenz commented Nov 27, 2020

I've used the pytorch official resnet50 (https://pytorch.org/docs/stable/torchvision/models.html) in your ZeroQ, and it only gives
75.85 (full precision is 76.13)

All I do is change the model loading line in uniform_test.py as follows

model = ptcv_get_model(args.model, pretrained=True)
model = torchvision.models.resnet50(pretrained=True)

Any hypermeters are allowed to be tuned for better performance?

@jiangaojie
Copy link

I've used the pytorch official resnet50 (https://pytorch.org/docs/stable/torchvision/models.html) in your ZeroQ, and it only gives 75.85 (full precision is 76.13)

All I do is change the model loading line in uniform_test.py as follows

model = ptcv_get_model(args.model, pretrained=True)
model = torchvision.models.resnet50(pretrained=True)

Any hypermeters are allowed to be tuned for better performance?

I meet the same issue . Do you slove this problem? Thanks

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