Yolov5: Effect of resizing images prior to training, Good or Bad?

Created on 16 Oct 2020  路  4Comments  路  Source: ultralytics/yolov5

鉂擡ffect of resizing images prior to training, Good or Bad?

I want to train yolov5 with a custom dataset that has variable image sizes. I have managed to produce the label files accordingly. I know, yolov5 can resize them at the training time. However, if I resize the images (without keeping the aspect ratio) before training into a fixed shape (640x640), it reduces the training time per epoch but can it hurt the learning performance?

Additional context

Stale question

All 4 comments

@redwankarimsony recommend you simply follow the custom training tutorial steps, and examine coco128 for what works in a dataset.

@redwankarimsony Try it and issue

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cswwp picture cswwp  路  4Comments

linhaoqi027 picture linhaoqi027  路  4Comments

milind-soni picture milind-soni  路  3Comments

FSNStefan picture FSNStefan  路  4Comments

hktxt picture hktxt  路  3Comments