Skip to content

Conversation

developer0hye
Copy link
Contributor

giou loss is weak at overflow problem because it computes area of box.

https://github.com/pytorch/vision/blob/main/torchvision/ops/boxes.py#L226-L242

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Mar 26, 2022

💊 CI failures summary and remediations

As of commit ad704ed (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@developer0hye Thanks for the PR. Looks like something we need to address. I've added a comment below for your attention, let me know your thoughts.

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@datumbox datumbox merged commit 96aecd2 into pytorch:main Mar 28, 2022
@developer0hye
Copy link
Contributor Author

@datumbox Thanks!

@developer0hye developer0hye deleted the patch-5 branch March 28, 2022 08:39
facebook-github-bot pushed a commit that referenced this pull request Apr 5, 2022
…5685)

Summary:
* call _upcast to consider overflow

giou loss is weak at overflow problem because it computes area of box.

* cast datatype to float

* add ":" to if

* lint Test for membership should be 'not in' (E713)

(Note: this ignores all push blocking failures!)

Reviewed By: datumbox

Differential Revision: D35216763

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

Successfully merging this pull request may close these issues.

3 participants