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
In this line, the index iterates through the tensor length, this could cause an erroneous metric computation, especially when the number of classes is reduced.
Indeed right after, you use the i to filter the bounding boxes.
Describe the bug
micromind/recipes/object_detection/train.py
Line 189 in b4b45c0
In this line, the index iterates through the tensor length, this could cause an erroneous metric computation, especially when the number of classes is reduced.
Indeed right after, you use the i to filter the bounding boxes.
micromind/recipes/object_detection/train.py
Line 190 in b4b45c0
For instance, consider
batch["batch_idx"]
to be[0, 0, 0, 10]
in such case, the bbx corresponding to 10 is never taken into account as the list length is 4.
If I'm right and I'm not missing anything I would propose changing L189 to
avoiding redundant iterations and making sure not to leave out anything.
The text was updated successfully, but these errors were encountered: