mvoelk/ssd_detectors

Location of padding operation

eggcracker opened this issue · 1 comments

Thanks for sharing your code. I have a comment regarding the location of the padding operation in ssd_data.py.

img, y = pad_image(img, aspect_ratio, y)

I think it should be done before resizing the input image, not after, as we would like to preserve the aspect ratio of the original image. So, I think this version of the code has no effect on preserving the aspect ratio.

Fixed, thanks :)