diff --git a/install/CPU/windows_cpu.bat b/install/CPU/windows_cpu.bat index 37751bb..b2090c4 100644 --- a/install/CPU/windows_cpu.bat +++ b/install/CPU/windows_cpu.bat @@ -1,7 +1,9 @@ @echo off +setlocal cd .. cd .. py -3.10 -m venv .venv -call .venv\Scripts\activate -pip install -r requirements.txt -pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 +SET VenvPythonPath=%CD%\.venv\Scripts\python.exe +call %VenvPythonPath% -m pip install -r requirements.txt +call %VenvPythonPath% -m pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 +endlocal \ No newline at end of file diff --git a/install/CUDA/windows_cuda_gpu.bat b/install/CUDA/windows_cuda_gpu.bat index ea3f987..be49ed5 100644 --- a/install/CUDA/windows_cuda_gpu.bat +++ b/install/CUDA/windows_cuda_gpu.bat @@ -1,7 +1,9 @@ @echo off +setlocal cd .. cd .. py -3.10 -m venv .venv -call .venv\Scripts\activate -pip install -r requirements.txt -pip install torch==2.0.1+cu117 torchvision==0.15.2+cu117 torchaudio==2.0.2+cu117 --index-url https://download.pytorch.org/whl/cu117 \ No newline at end of file +SET VenvPythonPath=%CD%\.venv\Scripts\python.exe +call %VenvPythonPath% -m pip install -r requirements.txt +call %VenvPythonPath% -m pip install torch==2.0.1+cu117 torchvision==0.15.2+cu117 torchaudio==2.0.2+cu117 --index-url https://download.pytorch.org/whl/cu117 +endlocal \ No newline at end of file