Error: PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7f6b0d25dc70>

Hi,
I am getting this error when training the model and can’t figure out the cause. Could anyone assist on this?

All the steps above are matching the expected outcome

image


image

Thanks!

You should recheck the implementation of the train_generator function, there should be an issue with it I think.

I’m not alone
ETA 10:25 per epoch)

Train_genertor declaraation???

someone answered here: