Unidentified image error - Dreambooth Colab
Today while trying to run a training session the colab gives me this error. I've not used the colab in the last 3/4 days (before V2 implementation). It always worked before but now gives me this error. I'm running 1.5 model not the V2. Deactivating the button "Crop_images" fix the error
| | 0/25 Uploaded
UnidentifiedImageError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/PIL/Image.py in open(fp, mode)
2894
2895 Note that this function decodes pixel data only, not entire images.
-> 2896 If you have an entire image file in a string, wrap it in a
2897 :py:class:~io.BytesIO object, and use :py:func:~PIL.Image.open to load it.
2898
UnidentifiedImageError: cannot identify image file '/content/ccecc/lssdrvlpn (1).jpg'
fixed with !pip install -U pillow
am having same problem i did not have this problem before pls anyone can help ??
try !pip install pillow==8.4 then restart the runtime
try
!pip install pillow==8.4then restart the runtime
am sorry where to put this command exactly am not soo good in running command
tell me exactly where in which cell am using dreambooth google collab
create a new cell and paste the code in it, then run the cell, after that it will ask you to restart the runtime, restart it, then run again the model download cell and the session cell then the images cell
you are a life saver thank you so much !