13 lines
267 B
Bash
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
|