You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use mmrotate.core.bbox.rbbox_overlaps in my own model. In the early stages of training, the network output is not stable, so many very small detection boxes are generated. When calcuate iou between small predict bboxes and gt bboxes, the output of 'rbbox_overlap' is abnormal.
Please run python mmrotate/utils/collect_env.py to collect necessary environment information and paste it here.
You may add addition that may be helpful for locating the problem, such as
How you installed PyTorch [e.g., pip, conda, source]
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)
Error traceback
If applicable, paste the error trackback here.
A placeholder for trackback.
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
The text was updated successfully, but these errors were encountered:
Hi @liuyanyi, thank you very much!
We believe that this is caused by the box_iou_rotated operator in mmcv. When the predicted box is too small, IoU cannot be calculated correctly. We consider fixing this bug by adding restrictions on the size of the prediction box and the value range of IOU in rbbox_overlaps.
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug
I use
mmrotate.core.bbox.rbbox_overlaps
in my own model. In the early stages of training, the network output is not stable, so many very small detection boxes are generated. When calcuate iou between small predict bboxes and gt bboxes, the output of 'rbbox_overlap' is abnormal.Reproduction
I write a piece of code to reproduce the problem
the output of the code is:
Environment
python mmrotate/utils/collect_env.py
to collect necessary environment information and paste it here.$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Error traceback
If applicable, paste the error trackback here.
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
The text was updated successfully, but these errors were encountered: