Skip to content

Update inception quantized model path #1969

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

Merged
merged 2 commits into from
Mar 12, 2020
Merged

Conversation

hx89
Copy link
Contributor

@hx89 hx89 commented Mar 11, 2020

Update inception quantized model path. Also remove the auto_logits from model before loading pretrained quantized model.

Tested by running:
python references/classification/train_quantization.py --data-path='/mnt/fair/imagenet_full_size/' --device='cpu' --backend='fbgemm' --test-only --model='inception_v3'

Got accuracy similar to https://github.com/pytorch/vision/tree/master/references/classification#int8-models:
Acc@1 77.176 Acc@5 93.354

@hx89 hx89 requested review from fmassa and raghuramank100 March 11, 2020 23:00
Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

Can you send another PR changing the reported numbers for Inception for https://github.com/pytorch/vision/tree/master/references/classification#int8-models ?

@fmassa fmassa merged commit 12be107 into master Mar 12, 2020
@fmassa fmassa deleted the update-inception-model-path branch March 12, 2020 17:48
@hx89
Copy link
Contributor Author

hx89 commented Mar 13, 2020

Reported numbers are updated in #1975.

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

Successfully merging this pull request may close these issues.

2 participants