Open chewtoys opened 1 year ago
source images are png
[/usr/local/lib/python3.8/dist-packages/PIL/JpegImagePlugin.py](https://localhost:8080/#) in _save(im, fp, filename) 611 try: --> 612 rawmode = RAWMODE[im.mode] 613 except KeyError: KeyError: 'RGBA' During handling of the above exception, another exception occurred: OSError Traceback (most recent call last) 3 frames [/usr/local/lib/python3.8/dist-packages/PIL/JpegImagePlugin.py](https://localhost:8080/#) in _save(im, fp, filename) 612 rawmode = RAWMODE[im.mode] 613 except KeyError: --> 614 raise OSError("cannot write mode %s as JPEG" % im.mode) 615 616 info = im.encoderinfo OSError: cannot write mode RGBA as JPEG```
same here. cannot train with caption checked
one of the images is just not readable by the pillow library
It seems that it only read RGB(JPG), but can't read RGBA(PNG). Please try to use *.jpg .
source images are png