Browse Source

README.md

Instructions for installation
Katja Strašek 2 years ago
parent
commit
5d19257ae5
1 changed files with 25 additions and 0 deletions
  1. 25 0
      README.md

+ 25 - 0
README.md

@@ -0,0 +1,25 @@
+### Installation of virtual environments
+
+After cloning, virtual environment with python3 needs to be created - in this file, only requiremnets for virutal environments can be found.
+
+Create virtual environment with python3 and requirements file:
+
+#Labkey venv
+
+```bash
+virtualenv ~/venv/labkey -p python3
+source ~/venv/labkey/bin/activate
+pip install -r requirements.txt
+```
+
+#nnUNet venv
+```bash
+virtualenv ~/venv/nnUNet -p python3
+source ~/venv/nnUNet/activate
+pip install ~/software/src/venv/nnUNet/requirements.txt
+pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
+pip install nnunet
+```
+
+#Socket venv
+More detailed instructions for virtual environment socket can be found [here](https://git0.fmf.uni-lj.si/studen/websocket)