IOPaint/scripts/user_scripts/win_config.bat
2023-04-03 21:51:29 +08:00

18 lines
507 B
Batchfile

@echo off
set PATH=C:\Windows\System32;%PATH%
@call installer\Scripts\activate.bat
@call conda-unpack
@call conda install -y -c conda-forge cudatoolkit=11.7
@call pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
@call pip install xformers==0.0.16
@call pip3 install -U lama-cleaner
@call lama-cleaner --install-plugins-package
@call lama-cleaner --config-installer --installer-config %0\..\installer_config.json
PAUSE