Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cap Pillow and other dependencies #50

Closed
pvk-developer opened this issue Jan 27, 2020 · 3 comments · Fixed by #54
Closed

Cap Pillow and other dependencies #50

pvk-developer opened this issue Jan 27, 2020 · 3 comments · Fixed by #54
Milestone

Comments

@pvk-developer
Copy link
Member

There have been some updates to Pillow which makes Torchvision to fail trying to import PILLOW_VERSION from PIL.

@hugovk
Copy link

hugovk commented Jan 27, 2020

There's now a new release of torchvision (0.5.0) that works with the newest Pillow version (7.0.0).

An alternative to #52 is updating the torchvision pin from 0.2.1 to 0.5.0.

@pvk-developer
Copy link
Member Author

pvk-developer commented Jan 27, 2020

There's now a new release of torchvision (0.5.0) that works with the newest Pillow version (7.0.0).

An alternative to #52 is updating the torchvision pin from 0.2.1 to 0.5.0.

Hi @hugovk and thank you for your anwser. I will check out if SteganoGAN is working properly with that version of torchvision and if everything is okay I will proceed to update it to torchvision==0.5.0 .

Update:

  ERROR: torchvision 0.5.0 has requirement torch==1.4.0, but you'll have torch 1.0.0 which is incompatible.

Unfortunately we are using torch 1.0.0 and at the moment we are not planing to update it to 1.4.0 or bigger. I belive that we will go on installing everything as it was from development and just dedicate more time on updating the code in the future.

@hugovk
Copy link

hugovk commented Apr 17, 2020

You can also now upgrade to Pillow 7.1.0+, which reintroduced PILLOW_VERSION to allow projects some more time to update.

https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html#pillow-version-constant

@pvk-developer pvk-developer changed the title Cap Pillow and other dependancies Cap Pillow and other dependencies Apr 23, 2020
@csala csala added this to the 0.1.3 milestone Apr 23, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants