Explorar o código

add prepare script for notebook env

Niemes %!s(int64=2) %!d(string=hai) anos
pai
achega
302552647e
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  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 \
+