How to create image with class <>


I’ve been trying to convert my .jpg image into a format accessible by the learner.predict() function. I’ve tried PILImage.create() and 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

The load_image function is also not working. How can I proceed to make predictions in my code?

The notebook link is