Hi, I am also getting the following error
" /opt/conda/envs/fastai/lib/python3.8/site-packages/PIL/Image.py:951: UserWarning: Palette images with Transparency expressed in bytes should be converted to RGBA images
warnings.warn(…(many lines of code))."
I am not sure how to tell which image this error is pointing towards. Is there a way to identify the issue image, or to fix all potential trouble images?
I am fairly new to both python and ML.
I was not able to implement and fix as owura_coder so a further nodge in the right direction will be appreciated.
Thanks
To add some more context, I have 4 bear categories within a bear folder where 409 images are saved). The error occurs when I try to run the learner
“learn = cnn_learner(dls, resnet18, metrics=error_rate)
learn.fine_tune(4)”