easiest way to solve the problem is not using PILImage.create
learn.predict('bear.jpg')
where bear.jpg is the file you want to predict. You can also use filepath object instead of ‘bear.jpg’ but not a PILImage object
easiest way to solve the problem is not using PILImage.create
learn.predict('bear.jpg')
where bear.jpg is the file you want to predict. You can also use filepath object instead of ‘bear.jpg’ but not a PILImage object