summaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-01-14 16:50:23 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-01-14 16:50:23 +0800
commitdb5a58b1db9875afbc2a4c7e6e5d190b6c28ee34 (patch)
treec8aea4a64d5635fab69f15cdf3a2dfa20c923761 /startup
parentad5211cce95ed8756b7960527813e93847df6f82 (diff)
Remove DataParallel
Diffstat (limited to 'startup')
-rw-r--r--startup9
1 files changed, 6 insertions, 3 deletions
diff --git a/startup b/startup
index a7253dd..644e59b 100644
--- a/startup
+++ b/startup
@@ -2,17 +2,20 @@
snap remove lxd
snap remove core18
-apt -y purge snapd gdm3
+apt -y purge snapd gdm3 colord accountsservice rsyslog switcheroo-control \
+ network-manager multipath-tools modemmanager upower rtkit policykit-1
apt -y autoremove
apt update
apt -y install python3-pip python-is-python3 nvtop zstd rclone
-pip3 install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
+pip3 install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio===0.7.2 \
+ -f https://download.pytorch.org/whl/torch_stable.html
pip3 install scikit-learn tqdm tensorboard
+cd /root
+
git clone https://git.jordangong.com/jordangong/gait-recognition.git
-cd gait-recognition; git checkout python3.8; cd ..
mkdir -p gait-recognition/data/CASIA-B-MRCNN
wget https://storage.googleapis.com/gait-dataset/CASIA-B-MRCNN-SEG.tar.zst
tar -I zstd -xf CASIA-B-MRCNN-SEG.tar.zst -C gait-recognition/data/CASIA-B-MRCNN