-
Notifications
You must be signed in to change notification settings - Fork 939
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
small bug in init of top down bottom up #57
Conversation
shubhamagarwal92
commented
May 21, 2019
- small bug in init of top down bottom up
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed. If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
pythia/models/top_down_bottom_up.py
Outdated
@@ -15,7 +15,7 @@ | |||
@registry.register_model("top_down_bottom_up") | |||
class TopDownBottomUp(BaseModel): | |||
def __init__(self, image_attention_model, text_embedding_models, classifier): | |||
super(TopDownBottomUpModel, self).__init__() | |||
super(TopDownBottomUp, self).__init__() |
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.
Can you actually change it to super().__init__()
? Since, we are not supporting Pythia 2.x, we should do it in 3.x's way.
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.
Done :)
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.
Can you sign the CLA as well? Thanks.
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 actually did! Not showing though
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.
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
* [feature] Add Conceptual Captions Dataset * Address comments
* [feature] Add Conceptual Captions Dataset * Address comments