When an image with zero annotations is present in the dataset read_annotation() returns []. Passing [] to tv_tensors.BoundingBoxes() creates a tensor with shape (0,) instead of (0, 4). This causes a shape mismatch error downstream during eval().
Pictures supporting the issue :
With coco-2014 dataset :
With coco-2017 dataset :
