Is it normal to want to augment the data? #617
-
|
First time LoRA tester here, I got a weird question:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I don’t have the time to answer these 1 by 1 but I will say this; augmenting is a last resort, a valid one but still a last resort. |
Beta Was this translation helpful? Give feedback.
-
|
I've experimented with some of the image augmentations, I can't say for certain how beneficial most of them are but they don't seem to hurt the results as long as they aren't overwhelmingly strong. Usually I enable flip+jitter, and have random brightness/contrast/saturation at around 0.1-0.2. I did notice that the "random rotation" augmentation caused it to learn black corners on the images so I've avoided that (not sure what the difference is to "random rotate and crop"). Hue can more easily cause a mismatch between the image/captions if for example it turns a "green" shirt into a "blue" shirt so I usually avoid that or maybe keep it ~0.05. Ultimately if the image with augmentations still looks acceptable as the subject, and the captions still accurately describe the image, it should be fine to include. Photos will naturally have variations in exposure/color balance/etc so similar variations are ok, for animated/cartoon images it may need to stick more strictly to the source palette if you want to recreate the style more accurately at inference. |
Beta Was this translation helpful? Give feedback.
I don’t have the time to answer these 1 by 1 but I will say this; augmenting is a last resort, a valid one but still a last resort.