TropComplique / FaceBoxes-tensorflow

A fast face detector
MIT License
179 stars 66 forks source link

Question about training #10

Open Pratyeka opened 6 years ago

Pratyeka commented 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.

jameSssssss commented 5 years ago

It's because the boxes are normalized with the image size , so resizing the image doesn't change the boxes' labels .