Skip to content
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

Fix wrong clamping in RoIAlign with aligned=True #2438

Merged
merged 3 commits into from Jul 9, 2020

Conversation

fmassa
Copy link
Member

@fmassa fmassa commented Jul 9, 2020

Fixes bug pointed out by @ppwwyyxx in #1908 (comment)

@fmassa fmassa requested a review from ppwwyyxx July 9, 2020 09:02
@codecov
Copy link

codecov bot commented Jul 9, 2020

Codecov Report

Merging #2438 into master will decrease coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2438      +/-   ##
==========================================
- Coverage   70.69%   70.58%   -0.12%     
==========================================
  Files          94       94              
  Lines        7920     7920              
  Branches     1249     1249              
==========================================
- Hits         5599     5590       -9     
- Misses       1934     1943       +9     
  Partials      387      387              
Impacted Files Coverage Δ
torchvision/extension.py 48.64% <0.00%> (-21.63%) ⬇️
torchvision/models/detection/rpn.py 92.70% <0.00%> (-0.43%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4246abc...08d06d9. Read the comment docs.

@fmassa
Copy link
Member Author

fmassa commented Jul 9, 2020

Will add tests in a follow-up PR which is being tracked in #2440

@fmassa fmassa merged commit 131ba13 into pytorch:master Jul 9, 2020
@fmassa fmassa deleted the fix-aligned-clamp branch July 9, 2020 10:25
fmassa added a commit to fmassa/vision-1 that referenced this pull request Jul 9, 2020
* Fix wrong clamping in RoIAlign with aligned=True

* Fix silly mistake

* Bugfix pointed out during code-review
fmassa added a commit that referenced this pull request Jul 9, 2020
* Fix wrong clamping in RoIAlign with aligned=True

* Fix silly mistake

* Bugfix pointed out during code-review
fmassa added a commit to fmassa/vision-1 that referenced this pull request Jul 9, 2020
* Fix wrong clamping in RoIAlign with aligned=True

* Fix silly mistake

* Bugfix pointed out during code-review
facebook-github-bot pushed a commit that referenced this pull request Jul 9, 2020
Summary:
* Fix wrong clamping in RoIAlign with aligned=True

* Fix silly mistake

* Bugfix pointed out during code-review

Pull Request resolved: #2445

Reviewed By: zhangguanheng66

Differential Revision: D22458789

Pulled By: fmassa

fbshipit-source-id: cbe4d7df64b56b2c0b44c21c3fb155d40c74e057
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants