I’ve been trying to convert my
.jpg image into a format accessible by the
learner.predict() function. I’ve tried
load_image, both do not seem to work (create PIL.PIL object instead).
I am trying to use the
Image() function but it gives an error that
module is not callable
load_image function is also not working. How can I proceed to make predictions in my code?
The notebook link is https://www.kaggle.com/namansood/fastai-image-channel