fastai / fastai2

Temporary home for fastai v2 while it's being developed
https://dev.fast.ai
Apache License 2.0
645 stars 234 forks source link

Export to library the import of Image #537

Closed albertvillanova closed 4 years ago

albertvillanova commented 4 years ago

Library file torch_core.py uses PIL.Image in the definition of the function to_image. However it was not previously imported.

Now, torch_core.py includes the import:

from PIL import Image
review-notebook-app[bot] commented 4 years ago

Check out this pull request on  ReviewNB

Review Jupyter notebook visual diffs & provide feedback on notebooks.


Powered by ReviewNB

jph00 commented 4 years ago

I'll try to find a fix for that too. I'd rather not intro the dep.