-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Added annotation typing to mobilenet #2862
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only incremental changes needed from the other PRs. Otherwise LGTM.
Fixed! Although, I'm still getting an issue I didn't manage to get around:
|
@pmeier any way of telling mypy that |
I think annotating @frgfm You can check which type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* style: Added annotation typing for mmobilenet * fix: Fixed type hinting of adaptive pooling * refactor: Removed un-necessary import * fix: Fixed constructor typing * fix: Fixed list typing
* style: Added annotation typing for mmobilenet * fix: Fixed type hinting of adaptive pooling * refactor: Removed un-necessary import * fix: Fixed constructor typing * fix: Fixed list typing
Hi there!
As per #2025, annotation typing are welcome in torchvision. So, this PR focuses on
torchvision.models.mobilenet
this PR!Any feedback is welcome!