course22
course22 copied to clipboard
2.7.11 breaks lesson 1 notebook
trafficstars
is_bird,_,probs = learn.predict(PILImage.create('bird.jpg'))
errors out with (ultimately) AttributeError: read.
Notebook with full stacktrace here: https://www.kaggle.com/code/danwashceros/is-it-a-bird-creating-a-model-from-your-own-data
The fix is to change it to this: is_bird,_,probs = learn.predict('bird.jpg')
Hope this helps someone! awesome course so far, thanks @jph00
I can confirm that @mrpaulstone 's code above fixes the issue, thank you!
same here