summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-01-14 17:09:28 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-01-14 17:09:28 +0800
commit07f22376fae0bb38ddc95413366d57a97a01f17d (patch)
treeedd3d65c0653077efd0ac0b9bea3ce22c4306059
parent6de814e06664cd51474232823930faba9ebb6d3d (diff)
parent9ee9b36611bf95fb6ff1fa6b86aa96a3f55c3613 (diff)
Merge branch 'python3.8' into python3.7
-rw-r--r--startup23
1 files changed, 23 insertions, 0 deletions
diff --git a/startup b/startup
new file mode 100644
index 0000000..c871f54
--- /dev/null
+++ b/startup
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+snap remove lxd
+snap remove core18
+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 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
+mv gait-recognition/data/CASIA-B-MRCNN/{CASIA-B-MRCNN-SEG,SEG}