-
Notifications
You must be signed in to change notification settings - Fork 7k
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
TensorRT compatible retinanet #4409
TensorRT compatible retinanet #4409
Conversation
Hi @julienripoche! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign 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 to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
@julienripoche Thanks for the PR. Don't worry about the failing tests, they are unrelated to your changes. As discussed on the linked issue, we will need to do a bit of more thought validation for this, so I will get back to you once this is completed. |
@datumbox I figured it was fine looking at your PR. |
This PR has been imported on Phabricator for testing. All passing. |
No difference on the validation stats of pre-trained models before and after the change. Main branch
PR
|
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 for the contribution! I checked the accuracies and on internal tests and everything passes without problem.
Very nice! It'll save me the trouble of doing things by hands :) |
@prabhat00155 FYI we got a -0.01 mAP difference from what we report on models documents. It's unclear whether this is something caused by a change on Vision or Core. If this is something of interest for you to investigate and fix let me know to give you the details. |
@datumbox Yeah sure, I can look at it. |
@prabhat00155 Thanks. I had a look on my logs and it seems that the last time I tested retina+resnet and it produced the "right" accuracy was here: #3032 |
…in anchor_utils.py (#4395) (#4409) Summary: Reviewed By: datumbox Differential Revision: D31268024 fbshipit-source-id: 0294ad05fc94bdf5a6d3eba50d85813d568e8fbe Co-authored-by: Julien RIPOCHE <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]>
Change torch.arange dtype from torch.float32 to torch.int32 in anchor_utils.py (issue #4395)
cc @datumbox