Skip to content

Commit

Permalink
Merge pull request #7 from alessiamarcolini/fix-conda-requirements
Browse files Browse the repository at this point in the history
Fix conda requirements
  • Loading branch information
sthalles authored Apr 18, 2020
2 parents 84c1f14 + 4c9bc8d commit df7500e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Installation

```
$ conda create --name simclr python=3.7 --file requirements.txt
$ conda env create --name simclr --file env.yml
$ conda activate simclr
$ python run.py
```
Expand Down
21 changes: 21 additions & 0 deletions env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: simclr
channels:
- pytorch
- anaconda
- conda-forge
- defaults
dependencies:
- cudatoolkit=10.1
- numpy=1.18.1
- opencv=3.4.2
- pillow=7.0
- pip=20.0
- python=3.7.6
- pytorch=1.4.0
- torchvision=0.5
- tensorboard=2.1
- matplotlib=3.1.3
- scikit-learn=0.22.1
- pyyaml=5.3.1
- nvidia-apex=0.1

0 comments on commit df7500e

Please sign in to comment.