Skip to content

Commit

Permalink
Was still having problems with different builds of pillow, so reverti…
Browse files Browse the repository at this point in the history
…ng to 9.5.0, which is the one that comes along with the other dependencies if you don't specify a higher version.

Seem to be working now, can both solve environment and import torchvision without error.

If, in the future, a higher version of pillow is required, consider installing from PyPI with PIP, this seems to work for 10.3.0, but at this time I don't think a higher version than 9.5 is required.
  • Loading branch information
mrl280 committed Apr 29, 2024
1 parent 39355ff commit 27361a1
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ channels:
- defaults
dependencies:
- python=3.11
- pip=23.3.*
- pip=23.3.2
- jupyter=1.0.0 # Jupyter system, including the notebook and the IPython kernel, all in one go.
- numpy=1.26.*
- pandas=2.2.*
- matplotlib=3.8.*
- scipy=1.11.*
- scikit-learn=1.3.*
- pillow=10.2.*
- pytorch=2.3.*
- pytorch-lightning=2.0.*
- torchmetrics=1.1.*
- gdal=3.6.*
- numpy=1.26.4
- pandas=2.2.2
- matplotlib=3.8.4
- pillow==9.5.0
- scipy=1.11.4
- scikit-learn=1.3.2
- pytorch=2.3.0
- pytorch-lightning=2.0.9
- torchmetrics=1.1.2
- gdal=3.6.2
- pip:
- torchvision==0.18.*
- torchvision==0.18.0

# Note: We use Conda for this example because it is the easiest way to install GDAL, which is required to read
# the spectrogram masks from the spectrogram sensing dataset.

0 comments on commit 27361a1

Please sign in to comment.