瀏覽代碼

README.md

Instructions for installation
Katja Strašek 2 年之前
父節點
當前提交
5d19257ae5
共有 1 個文件被更改,包括 25 次插入0 次删除
  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)