yolov7 icon indicating copy to clipboard operation
yolov7 copied to clipboard

Invalid SOS parameters for sequential JPEG while Training

Open sehoon123 opened this issue 2 years ago • 3 comments

Screenshot from 2022-08-15 17-50-20

Screenshot from 2022-08-15 17-54-11

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?

sehoon123 avatar Aug 15 '22 08:08 sehoon123

same problem

yh9468 avatar Oct 18 '22 05:10 yh9468

I have same problem. Have you solved it?

lnhutnam avatar Jun 26 '23 06:06 lnhutnam

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)

orkars avatar Feb 11 '24 19:02 orkars