fastbook
fastbook copied to clipboard
learn.predict throws error when passed PIL image
This fixes the issue reported here which is blocking running a cell in chapter 1 of the book. Below is a screenshot of the cell in question.
This seems to have started happening with fastai 2.7.11, and since fastbook installs fast ai >=2.6, its not easy for a beginner (or non python expert like myself) to figure this out.
Enjoying the book otherwise, thank you everyone involved.


Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Yep, this tripped me up as well. The simple fix in your PR worked for me - thanks!