-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·58 lines (38 loc) · 1.46 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
#
#sudo mkdir /root/.kaggle
#sudo cp kaggle.json /root/.kaggle
'''
apt-get update &&
apt-get install git -y &&
apt-get install wget -y &&
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-Linux-x86_64.sh &&
chmod +x Miniconda3-py39_4.10.3-Linux-x86_64.sh &&
./Miniconda3-py39_4.10.3-Linux-x86_64.sh
---------------------
conda create -n covid19 python=3.7.9 -y &&
conda activate covid19 &&
git clone https://github.com/sergeykochetkov/kaggle-covid19.git &&
cd kaggle-covid19 &&
git config --global user.email [email protected] &&
git config --global user.name sergeykochetkov_rent
'''
'''
SSH server: 193.106.172.198
Username: root
Password: 8kTiKM1K&xx55%*
'''
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" &&
unzip awscliv2.zip &&
./aws/install &&
apt-get install git-lfs &&
git lfs install &&
apt-get install ffmpeg libsm6 libxext6 -y &&
conda install -c conda-forge gdcm -y &&
pip install -r requirements.txt &&
pip install git+https://github.com/ildoonet/pytorch-gradual-warmup-lr.git &&
pip install git+https://github.com/bes-dev/mean_average_precision.git@930df3618c924b694292cc125114bad7c7f3097e &&
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch-lts -c nvidia -y &&
pip install git+https://github.com/ildoonet/pytorch-gradual-warmup-lr.git &&
pip install git+https://github.com/bes-dev/mean_average_precision.git@930df3618c924b694292cc125114bad7c7f3097e &&
aws configure