Skip to content

Add MobileNetV2 to torchvision #625

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

Closed
tonylins opened this issue Oct 12, 2018 · 6 comments
Closed

Add MobileNetV2 to torchvision #625

tonylins opened this issue Oct 12, 2018 · 6 comments

Comments

@tonylins
Copy link

Hi,

I have implemented MobileNetV2 with PyTorch and successfully reproduced the results here: https://github.com/tonylins/pytorch-mobilenet-v2

The repo has received more than 300 stars right now. I'm wondering if it is possible to merge the model into torchvision so that more people can benefit from it.

Thanks so much!

@fmassa
Copy link
Member

fmassa commented Oct 30, 2018

Yes, it will be a great contribution to torchvision.

Did you train your model using the standard pytorch/examples/imagenet codebase? What were the modifications that you did?

@tonylins
Copy link
Author

Thanks! Yes, I used the standard pytorch ImageNet example codebase.

@fmassa
Copy link
Member

fmassa commented Oct 31, 2018

What about the learning rate schedules / number of epochs, was it the same?

@tonylins
Copy link
Author

tonylins commented Nov 2, 2018

No, I followed the training protocol in the paper. The initial learning rate was 0.045, and decayed by 0.94 every 2 epochs.

@fmassa
Copy link
Member

fmassa commented Nov 6, 2018

Sounds good.

Would you be willing to send a PR with the model? And also with a link to the pre-trained weights and the script that you used to train it (in a gist for example) would be awesome!

@fmassa
Copy link
Member

fmassa commented Mar 29, 2019

Fixed via #818

@fmassa fmassa closed this as completed Mar 29, 2019
rajveerb pushed a commit to rajveerb/vision that referenced this issue Nov 30, 2023
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