Instead of creating a PIL, you can just pass the filename. PILImages are no longer supported in learn.predict() in v2.7.11:
2 Likes
Instead of creating a PIL, you can just pass the filename. PILImages are no longer supported in learn.predict() in v2.7.11: