anchor-optimization icon indicating copy to clipboard operation
anchor-optimization copied to clipboard

ValueError: int() conversion before checking whether the datapoint is a negative example

Open kirnh opened this issue 1 year ago • 0 comments

Line 193 in optimize_anchors.py:

Negative examples contain an empty entry for the bbox coordinates and not 0. We should check to skip these before trying to convert them to int to avoid ValueError.

PFA fix.

Screenshot from 2023-03-20 11-50-19

kirnh avatar Mar 20 '23 06:03 kirnh