-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Fix RoiAlign aligned=True export #4692
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
friendly ping @fmassa @datumbox @pmeier @NicolasHug, 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.
Thanks @jiafatom for the 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.
Thanks @jiafatom, looks good to me. You may need to resolve the merge conflicts, before we can merge this.
I am a little confused here, the conflicting files are just my changes, why it shows to conflicting files? Or what is the best way to do here? |
You don't have the latest changes in your branch. Check this:
Just fetch and merge the latest main , resolve the merge conflicts and update your PR. I can update this for you, if you are having issues with this.
|
Thanks, done :) |
@jiafatom You are getting some linter errors. You may need to run the code formatter locally and update the PR. Look at this https://github.com/pytorch/vision/blob/main/CONTRIBUTING.md#formatting. |
Hey @prabhat00155! 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: Co-authored-by: Prabhat Roy <[email protected]> Reviewed By: NicolasHug Differential Revision: D31957853 fbshipit-source-id: 5054da13eb08732c0702cc684a9b065b70fd2917
Co-authored-by: Prabhat Roy <[email protected]>
The original code on
aligned=True
is not a complete solution and causes result mismatch.The correct way is to have ONNX RoiAlign updated, that we have done recently for RoiAlign-16.
Therefore we have a fix here to handle
aligned=True
case.cc @neginraoof