When I am running this cell:
img = plt.imread(f'{PATH}valid/cats/{files[0]}')
plt.imshow(img);
got the error:
AttributeError: module 'PIL.Image' has no attribute 'register_extensions'
When I am running this cell:
img = plt.imread(f'{PATH}valid/cats/{files[0]}')
plt.imshow(img);
got the error:
AttributeError: module 'PIL.Image' has no attribute 'register_extensions'
Thank you for that. But I can’t identify what’s wrong with the code
I understand that. But if you don’t follow the instructions in that link no one will be able to help you.