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

Better model checkpoints for various classification models #4900

Merged
merged 14 commits into from
Nov 16, 2021

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Nov 10, 2021

Fixes partially #3995

torchrun --nproc_per_node=1 train.py --test-only --weights ImageNet1K_RefV2 --model mobilenet_v3_large -b 1
Acc@1 75.274 Acc@5 92.566

torchrun --nproc_per_node=1 train.py --test-only --weights ImageNet1K_RefV2 --model resnet101 -b 1
Acc@1 81.886 Acc@5 95.780

torchrun --nproc_per_node=1 train.py --test-only --weights ImageNet1K_RefV2 --model resnet152 -b 1
Acc@1 82.284 Acc@5 96.002

torchrun --nproc_per_node=1 train.py --test-only --weights ImageNet1K_RefV2 --model resnext50_32x4d -b 1
Acc@1 81.198 Acc@5 95.340

torchrun --nproc_per_node=1 train.py --test-only --weights ImageNet1K_RefV2 --model resnext101_32x8d -b 1
Acc@1 82.834 Acc@5 96.228

cc @datumbox @bjuncek

@facebook-github-bot
Copy link

facebook-github-bot commented Nov 10, 2021

💊 CI failures summary and remediations

As of commit fc0227f (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@oke-aditya
Copy link
Contributor

Are you using Resnet strikes back recipe? https://arxiv.org/pdf/2110.00476.pdf
The accuracy look like it matches.

@datumbox
Copy link
Contributor Author

This is from a different recipe, you can read #3995 the high-level info. Next week we will publish a blogpost with the details. :)

Copy link
Contributor

@prabhat00155 prabhat00155 left a comment

Choose a reason for hiding this comment

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

Thanks @datumbox!

@datumbox datumbox changed the title Better model checkpoints for various classification models [WIP] Better model checkpoints for various classification models Nov 11, 2021
@datumbox datumbox changed the title [WIP] Better model checkpoints for various classification models Better model checkpoints for various classification models Nov 16, 2021
@datumbox datumbox merged commit 9841a90 into pytorch:main Nov 16, 2021
@datumbox datumbox deleted the models/weight_update branch November 16, 2021 17:47
facebook-github-bot pushed a commit that referenced this pull request Nov 17, 2021
…4900)

Summary:
* Add new weights for MobileNetV3 Large.

* Update weights for ResNet101.

* Update weights for ResNet152.

* Update numbers of ResNet101 and ResNet152 with batch size 1.

* Adding new weights for ResNeXt101_32x8d

* Batch size 1 stats for ResNeXt101_32x8d

* Update weights for MobileNetV3 Large.

* Update weights for ResNeXt50.

* Fix merge issues.

* Updating the URLs to indicate the recipe config.

Reviewed By: datumbox

Differential Revision: D32470484

fbshipit-source-id: 4f3534860d4a4baff3963aa540054107a008471e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve the accuracy of Classification models by using SOTA recipes and primitives
4 participants