There is my dataset class.
This seems to be a PIL
error.
You could try to load the truncated image using
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True
or skip this image in a try
block.
1 Like
Thank you very much!