1
0
Fork 0

Scripts to handle the cloud services I use for Stable Diffusion.

This commit is contained in:
Luca Beltrame 2023-06-04 09:17:43 +02:00
parent 0ac6f0893d
commit e4a7b08f8d
Signed by: einar
GPG key ID: 4707F46E9EC72DEC
6 changed files with 164 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#!/bin/bash
if [ ! -d /tmp/lama-venv/ ];
then
/storage/setup-lamacleaner.sh
fi
source /tmp/lama-venv/bin/activate
lama-cleaner --device=cuda \
--enable-interactive-seg \
--interactive-seg-model=vit_l \
--interactive-seg-device=cuda