Size-color sensitive object, how to train correctly? #3499
Replies: 1 comment
-
@thanhminhmr 👋 Hello! Thanks for asking about image augmentation. YOLOv5 🚀 applies online imagespace and colorspace augmentations in the trainloader (but not the testloader) to present a new and unique augmented Mosaic (original image + 3 random images) each time an image is loaded for training. Images are never presented twice in the same way. The hyperparameters used to define these augmentations are in your hyperparameter file (default
Lines 1 to 33 in 90b7895 You can view the effect of your augmentation policy in your train_batch*.jpg images once training starts. These images will be in your train logging directory, typically
Good luck and let us know if you have any other questions! |
Beta Was this translation helpful? Give feedback.
-
For context, I'm trying to create an OCR for simple text captcha. Currently I can generate simple text captchas with any specified size and color.
But since characters in captchas are sensitive to color and size (decoy characters have lower contrast than normal character, etc.) I don't know what setting I should train with. So my question is:
Note: This is what I mean when I say stretch or fit the image:
Beta Was this translation helpful? Give feedback.
All reactions