anchor-optimization
anchor-optimization copied to clipboard
ValueError: int() conversion before checking whether the datapoint is a negative example
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.