Skip to content

Fixed a bug in box_with_nms_limit where it may produce more bounding boxes than specified. #10390

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

Closed
wants to merge 1 commit into from

Conversation

newstzpz
Copy link
Contributor

@newstzpz newstzpz commented Aug 9, 2018

Summary:
Fixed a bug in box_with_nms_limit where it may produce more bounding boxes than specified.

  • The original code first finds the threshold for the boxes at the 'detectons_per_im' position, and filters out boxes lower than the threshold.
  • In some cases that there are multiple boxes have the same threshold, the op will return more boxes than 'detectons_per_im'.

Differential Revision: D9252726

…boxes than specified. (pytorch#10390)

Summary:
Pull Request resolved: pytorch#10390

Fixed a bug in box_with_nms_limit where it may produce more bounding boxes than specified.
* The original code first finds the threshold for the boxes at the 'detectons_per_im' position, and filters out boxes lower than the threshold.
* In some cases that there are multiple boxes have the same threshold, the op will return more boxes than 'detectons_per_im'.

Reviewed By: wat3rBro

Differential Revision: D9252726

fbshipit-source-id: f59c10d98d35a2b6a108a146bc8ec293e11d6753
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
…boxes than specified. (pytorch#10390)

Summary:
Pull Request resolved: pytorch#10390

Fixed a bug in box_with_nms_limit where it may produce more bounding boxes than specified.
* The original code first finds the threshold for the boxes at the 'detectons_per_im' position, and filters out boxes lower than the threshold.
* In some cases that there are multiple boxes have the same threshold, the op will return more boxes than 'detectons_per_im'.

Reviewed By: wat3rBro

Differential Revision: D9252726

fbshipit-source-id: 63f40829bcd275cb181692bc7547c384cee01499
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants