Skip to content

Conversation

@techshot25
Copy link

@techshot25 techshot25 commented Jan 3, 2020

"Look mom, no hands!" This was unnecessary and only caused torchvision to stop working.

Fixes # .

Changes proposed in this pull request:

  • Fix missing PILLOW_VERSION

"Look mom, no hands!" This was unnecessary and only caused torchvision to stop working.
@hugovk
Copy link
Member

hugovk commented Jan 3, 2020

Thanks for the PR.

This was fixed in torchvision in October (pytorch/vision#1501) and a new release is due out early next week (pytorch/vision#1712).

In any case, the next Pillow release isn't due out until April, so either

  • wait for the new torchvision early next week
  • use torchvision master (pip install git+https://github.com/pytorch/vision.git)
  • patch Pillow 7 as per this PR
  • or use Pillow 6 until then (pip install "pillow<7")

@hugovk hugovk closed this Jan 3, 2020
@hugovk
Copy link
Member

hugovk commented Jan 16, 2020

torchvision v0.5.0 has been released with the fix:

  1. Require torchvision>=0.5.0
  2. If Pillow was temporarily pinned, remove the pin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants