Skip to content

Add support of TorchVision's Model Registration API on MMAction2 #1908

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
Sep 20, 2022

Conversation

datumbox
Copy link

@datumbox datumbox commented Sep 6, 2022

This PR is similar to open-mmlab/mmcv#2246, but doesn't depend on it. We focus on using the new methods introduced by TorchVision's Model Registration API.

It adopts the new torchvision.models.get_model() method to initialize a model by its name instead of using directly torchvision.models.__dict__.

Looking forward to your feedback (see pytorch/vision#6365).

@CLAassistant
Copy link

CLAassistant commented Sep 6, 2022

CLA assistant check
All committers have signed the CLA.

@hukkai
Copy link
Collaborator

hukkai commented Sep 8, 2022

@datumbox Thanks for the new feature! The lint is failed. Please allow me to fix the lint.

@ly015
Copy link
Member

ly015 commented Sep 8, 2022

@datumbox Thank you very much for your help. Could you please sign the CLA so we can accept your contribution?

@datumbox
Copy link
Author

datumbox commented Sep 8, 2022

@hukkai Apologies, thanks for fixing the linter for me!

@ly015 I have submitted a request to my company to approve the signing of the CLA (similar to open-mmlab/mmcv#2246 (comment)). I don't expect any blockers but it might take up to a week to complete. Sorry for the delay, hopefully with this completed, I would be able to contribute easier going forwards.

@datumbox
Copy link
Author

@hukkai @ly015 Signed! Thanks a lot for waiting. Let me know if you need anything from my side.

@hukkai
Copy link
Collaborator

hukkai commented Sep 19, 2022

@ly015

@ly015 ly015 merged commit 0ec7953 into open-mmlab:master Sep 20, 2022
@datumbox datumbox deleted the tv_model_reg_api branch September 20, 2022 08:59
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.

4 participants