Closed Shakesbeer333 closed 3 years ago
Hi @lufficc,
I changed the resizing of the input images, such that it keeps the aspect ratio unchanged by padding the shorter sides with zeros. However, I don't know where to change the resizing of the labels (bbox, segmentation of the gt_data).
BR
Resizing of boxes is done in transforms.py by the ToPerecentCoords class
transforms.py
ToPerecentCoords
Hi @lufficc,
I changed the resizing of the input images, such that it keeps the aspect ratio unchanged by padding the shorter sides with zeros. However, I don't know where to change the resizing of the labels (bbox, segmentation of the gt_data).
BR