-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Remove publication_year and interpolation meta #5848
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.
LGTM, thanks @YosuaMichael!
@@ -318,20 +318,16 @@ def _vision_transformer( | |||
return model | |||
|
|||
|
|||
_COMMON_META = { | |||
_COMMON_META: Dict[str, Any] = { |
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.
I assume mypy is to blame for this, right?
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.
Yes, correct
Summary: * Remove publication_year and interpolation meta * Add type to _COMMON_META and _COMMON_SWAG_META to prevent error from mypy check * Remove test to check interpolation and publication_year meta Reviewed By: jdsgomes, NicolasHug Differential Revision: D36095723 fbshipit-source-id: 15e7c00093bcf18393e3e5744d72734cf6fa7aac Co-authored-by: Vasilis Vryniotis <[email protected]>
resolving #5768