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
Thanks for the responses. In the mean time I just saved the images and that worked. Obviously I can just delete those images but your suggestions are much cleaner (and faster).