1
0
Fork 0
scripts/stable-diffusion/start_lamacleaner_paperspace.sh

13 lines
267 B
Bash

#!/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