yolov7
yolov7 copied to clipboard
Invalid SOS parameters for sequential JPEG while Training
It does not appear when I train one class, but it always appears when I train several classes at the same time.
Even if the batch size is 1, it always appears.
I googled it and some says it's cuda out of memory but I think in my case it is not.
What is the problem?
same problem
I have same problem. Have you solved it?
I had same problem. I found a way but I dont know if there is any differences on training. I just read images 1 by 1 with cv2.imread and after that c2.imwrite with with .jpg extention. after I check training process and there is not any issue about jpeg.
img=cv2.imread(_path)
cv2.imwrite(_path[:-3]+'jpg',img)