-
Notifications
You must be signed in to change notification settings - Fork 700
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(multi_object_tracker): object size becomes zero, risk of numeric error and overflow on IoU calculation #6597
fix(multi_object_tracker): object size becomes zero, risk of numeric error and overflow on IoU calculation #6597
Conversation
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
41e8713
to
87dbd8e
Compare
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! There is just a minor comment. (Sorry, just my mistake ignore this comment)
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.
LGTM
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6597 +/- ##
==========================================
- Coverage 14.80% 14.79% -0.01%
==========================================
Files 1915 1915
Lines 132301 132329 +28
Branches 39320 39316 -4
==========================================
Hits 19581 19581
- Misses 90888 90916 +28
Partials 21832 21832
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The minimum size is unified to a small number (0.3 m) to avoid side-effect of tracking. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
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.
LGTM
…error and overflow on IoU calculation (autowarefoundation#6597) * fix: set object minimum size limits Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: object shape conversion, from cylinder to bbox Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: adjust minimum sizes to 0.3 m The minimum size is unified to a small number (0.3 m) to avoid side-effect of tracking. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…error and overflow on IoU calculation (autowarefoundation#6597) * fix: set object minimum size limits Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: object shape conversion, from cylinder to bbox Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: adjust minimum sizes to 0.3 m The minimum size is unified to a small number (0.3 m) to avoid side-effect of tracking. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> Signed-off-by: kaigohirao <kaigo.hirao@proxima-ai-tech.com>
…error and overflow on IoU calculation (autowarefoundation#6597) * fix: set object minimum size limits Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: object shape conversion, from cylinder to bbox Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: adjust minimum sizes to 0.3 m The minimum size is unified to a small number (0.3 m) to avoid side-effect of tracking. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Description
When IoU is calculated in sanity check process, the following error was shown in a low probability.
Found reason of error
Bicycle object sizes were zero (x=0, y=0, z=0). When just before the error is occur, one of the value was a huge value (probably a maximum value of
double
type).Unintended operation
In the pedestrian_and_bicycle tracker, two trackers are combined and updated simultaneously. There is chance to update cylinder shape (pedestrian) to the bicycle tracker, but the cylinder shape update in the bicycle tracker is not considered.
In the current bicycle tracker, it always updates its size as bounding box, therefore the bounding size can became unintended value (default value of zero, or any arbitrary value).
Countermeasure
Tests performed
Tested by data-relay simulation under local PC environment, the same data that occurred the error and confirmed that the error is not happening anymore.
Effects on system behavior
The error probability is eliminated.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.