Closed juliawilkins closed 10 months ago
@juliawilkins Hello, I also encountered the same problem. Did you find the reason or corresponding solution later? Thank you.
[UPDATE]
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True
This method helps resolve the issue
this is fixed now
Hi, I am using clip inference using the following command:
And am hitting the following error. The error causes the embedding calculation to hang indefinitely, i.e. I'll see something like
after first throwing the error below. Is there anything I can do such that the process continues when this error is thrown? I've tried loading all of my images with
PIL.Image.open(fname)
and can do this sucessfully, but the error seems to be on a resizing that's deep in clip-retrieval. Please let me know if there is anything I can do to bypass this. Thanks!The error: