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

abhiksark picture abhiksark  路  3Comments

DucTaiVu picture DucTaiVu  路  3Comments

lisa676 picture lisa676  路  3Comments

xinxin342 picture xinxin342  路  3Comments

hktxt picture hktxt  路  3Comments