I am trying to create a customized detection of pictures, e.g. for planets. I resized all the pictures all to 1280x1280px. I start train.py with following input:
python .\train.py --workers 1 --device 0 --batch-size 4 --epochs 100 --img-size 1280 1280 --data .\data\custom_data.yaml --hyp .\data\hyp.scratch.custom.yaml --cfg .\cfg\training\yolov7-custom.yaml --name yolov7-result --weights .\yolov7.pt
When looking at my created training data, it seems like yolov7 "merged" the pictures, so the pictures it learns from look like abominations from the original data. Here, take a look:
It takes 4 pictures (as set in batch-size = 4), but they are not the original pictures. For example, planet_14.jp looks like that:
As you can see, it merges with other pictures from planets in the train images folder. But why is that, and how do i prevent it from happening ?
I tried the same with 640x640px, the result was the same, only smaller batches. I tried googling at, but nobody had similar problems.