Open Pratyeka opened 6 years ago
In pipeline.py / def _augmentation_fn(self, image, boxes):
The function random_image_crop() outputs the cropped image and boxes, then you resize the image without adjust the boxes. I think the resize op leads to mismatch.
It's because the boxes are normalized with the image size , so resizing the image doesn't change the boxes' labels .
In pipeline.py / def _augmentation_fn(self, image, boxes):
The function random_image_crop() outputs the cropped image and boxes, then you resize the image without adjust the boxes. I think the resize op leads to mismatch.