mirror of
https://github.com/sthalles/SimCLR.git
synced 2025-06-03 15:03:00 +08:00
Fix environment file
This commit is contained in:
parent
84c1f14290
commit
3485c78c64
@ -7,7 +7,7 @@
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```
|
```
|
||||||
$ conda create --name simclr python=3.7 --file requirements.txt
|
$ conda env create --name simclr --file env.yml
|
||||||
$ conda activate simclr
|
$ conda activate simclr
|
||||||
$ python run.py
|
$ python run.py
|
||||||
```
|
```
|
||||||
|
21
env.yml
Normal file
21
env.yml
Normal file
@ -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
|
||||||
|
- scikit-learn
|
||||||
|
- pyyaml=5.3.1
|
||||||
|
- nvidia-apex=0.1
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user