Explorar el Código

Have runPython.sh run within venv, nnUnet set

Andrej Studen hace 3 años
padre
commit
4d0276ab7b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      pythonScripts/runPython.sh

+ 2 - 2
pythonScripts/runPython.sh

@@ -1,4 +1,4 @@
 #!/bin/bash
 
-
-nohup python3 $1  0<&- &> $HOME/logs/runPython.log &
+. ~/venv/nnUNet/bin/activate
+nohup python $@  0<&- &> $HOME/logs/runPython.log &