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

Add ResNet-9 for CIFAR-10 #193

Merged
merged 4 commits into from
Jan 4, 2022
Merged

Add ResNet-9 for CIFAR-10 #193

merged 4 commits into from
Jan 4, 2022

Conversation

dblalock
Copy link
Contributor

@dblalock dblalock commented Dec 29, 2021

This is the architecture that someone got to train to 94% accuracy in 26 seconds. The purpose of adding this is that it should let us do CIFAR-10 runs much faster for quick prototyping--I basically threw this together while waiting for some CIFAR-10 jobs to finish.

Wandb results: 92.82% accuracy from 1 run using our resnet56 hparams. This is slightly lower than in the blog post (94%), but has zero bag-of-tricks enhancements or hparam tuning.

@dblalock dblalock self-assigned this Dec 29, 2021
@dblalock dblalock marked this pull request as ready for review December 29, 2021 03:32
Copy link
Contributor

@Averylamp Averylamp left a comment

Choose a reason for hiding this comment

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

lgtm

@dblalock dblalock merged commit 0e65ab0 into mosaicml:dev Jan 4, 2022
@dblalock dblalock deleted the davis/resnet9 branch January 4, 2022 23:06
coryMosaicML pushed a commit to coryMosaicML/composer that referenced this pull request Feb 23, 2022
This is the architecture [1] that someone got to train to 94% accuracy in 26 seconds [2]. The purpose of adding this is that it should let us do CIFAR-10 runs much faster for quick prototyping.

* Adds a  composer/models/resnet9_cifar10 directory
* Adds a  composer/yamls/models/resnet9_cifar10.yaml file
* Adds imports / constants where necessary to make the model accessible and not break the unit tests

[1] https://myrtle.ai/learn/how-to-train-your-resnet-4-architecture/
[2] https://myrtle.ai/learn/how-to-train-your-resnet-8-bag-of-tricks/
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