Skip to content

Commit 23c23c2

Browse files
committed
add conda env setup
1 parent c9e28ee commit 23c23c2

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

conda-env.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Conda installation
2+
curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh # Linux
3+
curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh # OSX
4+
chmod +x ~/miniconda.sh
5+
./miniconda.sh
6+
source ~/.bashrc
7+
8+
# Install python libraries
9+
conda env create -f environment.yml
10+
source activate deep-learning

conda-env.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: deep-learning
2+
3+
channels:
4+
5+
- pytorch # DL
6+
- https://conda.anaconda.org/rdkit # Molecule
7+
- dglteam # DGL
8+
9+
dependencies:
10+
11+
# basic
12+
- python=3.6
13+
- numpy
14+
- mkl
15+
- ipython
16+
- jupyter
17+
- scipy
18+
- pandas
19+
- matplotlib
20+
- scikit-learn
21+
- networkx
22+
- seaborn
23+
24+
- pytorch=1.3 # DL
25+
- rdkit # Molecule
26+
- dgl=0.3 # DGL
27+
28+
- pip:
29+
- torchvision # DL
30+
- gym # RL
31+
- tensorboardx # TSP
32+
- fastprogress # TSP

server-setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Install Oh-my-zsh
2+
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

0 commit comments

Comments
 (0)