apparently anything after deactivate does not get ran, as it terminates the batch script.

This commit is contained in:
mrq 2023-02-18 16:20:26 +00:00
parent cf758f4732
commit 996e5217d2
5 changed files with 8 additions and 6 deletions

View File

@ -3,6 +3,6 @@ call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
python -m pip install -r ./requirements.txt
.\setup-training.bat
deactivate
call .\setup-training.bat
pause

View File

@ -3,6 +3,6 @@ call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio torch-directml==0.1.13.1.dev230119
python -m pip install -r ./requirements.txt
.\setup-training.bat
deactivate
call .\setup-training.bat
pause

View File

@ -1,2 +1,2 @@
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
!python -m pip install -r .\dlas\requirements.txt
python -m pip install -r .\dlas\requirements.txt

View File

@ -4,9 +4,10 @@ call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install -r ./requirements.txt
python -m pip install -r ./dlas/requirements.txt
deactivate
cd dlas
git pull
cd ..
deactivate
pause

View File

@ -5,8 +5,9 @@ source ./venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r ./requirements.txt
python -m pip install -r ./dlas/requirements.txt
deactivate
cd dlas
git pull
cd ..
deactivate