-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Add typing annotations to detection/backbone_utils #4603
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.
Few points I thought that might trouble :)
FYI, there is another file in prototypes that should be types along with this: |
@khushi-411 CI failure seem to be related. Do you want to give a try and fix stuff? |
This should be good to merge once CI is green 😃 |
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 for the PR! Overall it looks OK, I left a couple minor comments, let me know what you think. :)
Address nits Co-authored-by: Vasilis Vryniotis <[email protected]>
Hey @datumbox! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Summary: * Start adding types * add typing * Type prototype models * fix optional type bug * transient import * Fix weights type * fix import * Apply suggestions from code review Address nits Reviewed By: datumbox Differential Revision: D31898218 fbshipit-source-id: e52ab136755ed0d0cc975a2ec914bd285f3d0674 Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Khushi Agrawal <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]>
* Start adding types * add typing * Type prototype models * fix optional type bug * transient import * Fix weights type * fix import * Apply suggestions from code review Address nits Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Khushi Agrawal <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]>
Helps #4582
A headstart for @khushi-411 😃
Initially I was bit hesitant to start, but soon felt that this file isn't very simple for new contributor.
I have just added a couple of types. I felt this would help you.
cc @datumbox