Skip to content

Commit

Permalink
Lock Pillow to version 8.2.0
Browse files Browse the repository at this point in the history
There's currently a bug that interferes with the .to_tensor() function
in torch.

see: pytorch/pytorch#61125 (comment)
and: python-pillow/Pillow#5572
  • Loading branch information
czlee committed Jul 24, 2021
1 parent 7ab5259 commit a21471c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions requirements.txt
Expand Up @@ -4,6 +4,11 @@ numpy
coloredlogs
psutil

# Override Pillow version until a bug is fixed
# see: https://github.com/pytorch/pytorch/issues/61125#issuecomment-872624273
# and: https://github.com/python-pillow/Pillow/pull/5572
pillow==8.2.0

# these packages are only needed to run the Jupyter notebooks
jupyterlab
matplotlib
Expand Down

0 comments on commit a21471c

Please sign in to comment.