Browse Source

add prepare script for notebook env

Niemes 2 years ago
parent
commit
302552647e
1 changed files with 17 additions and 0 deletions
  1. 17 0
      prepare.sh

+ 17 - 0
prepare.sh

@@ -0,0 +1,17 @@
+#!/bin/bash
+
+## Prepare notebook env
+
+mkdir ./depedencies_Download \
+cd ./depedencies_Download \
+wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh \
+bash Anaconda3-2021.11-Linux-x86_64.sh \
+
+conda create -n pytorch_110 \
+conda activate pytorch_110 \
+
+conda install pytorch==1.10 torchvision torchaudio cudatoolkit=11.1 -c pytorch -c conda-forge \
+
+conda install pandas requests matplotlib \
+conda install opencv -c conda-forge \
+