-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
support unclip border bbox regression #4076
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4076 +/- ##
==========================================
- Coverage 62.25% 61.87% -0.38%
==========================================
Files 221 225 +4
Lines 16321 16670 +349
Branches 2762 2823 +61
==========================================
+ Hits 10160 10314 +154
- Misses 5666 5851 +185
- Partials 495 505 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -17,11 +17,14 @@ class TBLRBBoxCoder(BaseBBoxCoder): | |||
divided with when coding the coordinates. If it is a list, it should | |||
have length of 4 indicating normalization factor in tblr dims. | |||
Otherwise it is a unified float factor for all dims. Default: 4.0 | |||
clip_border (bool): Whether clip the objects outside the border of | |||
the image. |
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.
Defaults to True.
@@ -136,6 +141,8 @@ def tblr2bboxes(priors, | |||
normalized by the side length (wh) of prior bboxes. | |||
max_shape (tuple, optional): Shape of the image. Decoded bboxes | |||
exceeding which will be clamped. | |||
clip_border (bool): Whether clip the objects outside the border of | |||
the image. |
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.
Defaults to True.
YOLOBBoxCoder doesn't have clip_border, may I know why? |
No description provided.