|
a |
|
b/dsb2018_topcoders/setup_env.sh |
|
|
1 |
#!/usr/bin/env bash |
|
|
2 |
|
|
|
3 |
echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh |
|
|
4 |
wget --quiet https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh -O ~/anaconda.sh |
|
|
5 |
/bin/bash ~/anaconda.sh -b -p /opt/conda |
|
|
6 |
rm ~/anaconda.sh |
|
|
7 |
export PATH=/opt/conda/bin:$PATH |
|
|
8 |
pip install --upgrade tensorflow-gpu |
|
|
9 |
pip install --upgrade keras |
|
|
10 |
pip install imgaug lightgbm |
|
|
11 |
conda install opencv tqdm |
|
|
12 |
|
|
|
13 |
pip install http://download.pytorch.org/whl/cu90/torch-0.3.1-cp36-cp36m-linux_x86_64.whl |
|
|
14 |
pip install torchvision tensorboardX |