Closed skhadem closed 5 years ago
You know this is already built into darknet right? https://github.com/AlexeyAB/darknet/blob/55dcd1bcb8d83f27c9118a9a4684ad73190e2ca3/cfg/yolov3-tiny.cfg#L15
Is that random or applied to every image?
Oh yeah you are right
https://github.com/AlexeyAB/darknet/issues/644 For more details
We don't want our model to overfit to the pool environment so we need some data augmentation, mostly of the brightness. Since it seems AlexyAB's training is a good way to train YOLO with darknet backend, the augmentation should be compatible with that method. The easiest way would be to generate some extra images per image with brightness varied and BB the same, and glob them all in the train directory. Ideally it should be randomized per batch but this would require modifying the code we use to train, which may not be a bad idea.