resize / install.bat
ihsass's picture
Upload 7 files
9754b95
@echo off
python.exe -m pip install --upgrade pip
REM Create virtual environment folder
echo composing venv
IF NOT EXIST venv (
python -m venv venv
) ELSE (
echo venv folder already exists, skipping making new venv...
)
call .\venv\Scripts\activate.bat
pip3 install torch==2.0.1 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install tensorflow==2.10
pip install transformers
pip install Pillow
pip install retina-face
REM Show completion message
echo Virtual environment made and installed properly
REM Pause to keep the command prompt open
pause