Ah, that makes sense.
I’m not familiar with your use case, but a condition for an empty box could get rid of the error.
However, I’m not sure if your model will work with these empty bboxes or if you would have to remove the sample from the dataset.