Scripts to handle the cloud services I use for Stable Diffusion.
This commit is contained in:
parent
0ac6f0893d
commit
e4a7b08f8d
6 changed files with 164 additions and 0 deletions
13
stable-diffusion/start_lamacleaner_paperspace.sh
Normal file
13
stable-diffusion/start_lamacleaner_paperspace.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue