The result is Nan when computing IoU in objection detection. #1888
Replies: 1 comment
-
I have found merely removed the empty item in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The target is:
The preds is:
The last box of
preds
is empty, when I usingtorchmetrics.detection.iou.IntersectionOverUnion
to calculate IoU, the result is nan. So, I want to ask if I remove the empty box frompreds
, and then re-compute the iou. Is this iou the correct one?Beta Was this translation helpful? Give feedback.
All reactions