Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ninjaneural
GitHub Repository: ninjaneural/webui
Path: blob/master/misc/install_sagemaker.sh
3275 views
1
2
if [ $4 == True ]; then
3
pip install -U openmim
4
mim install mmcv>=2.0.0 -f https://download.openmmlab.com/mmcv/dist/cu118/torch2.0.0/index.html
5
mim install mmdet>=3.0.0
6
fi
7
8
git clone -b $2 https://github.com/ninjaneural/colabui /home/studio-lab-user/$1
9
cd /home/studio-lab-user/$1
10
11
if [ $3 == True ]; then
12
git clone https://github.com/Mikubill/sd-webui-controlnet ./extensions/controlnet
13
fi
14
if [ $4 == True ]; then
15
git clone -b mmdet3 https://github.com/ninjaneural/ddetailer ./extensions/ddetailer
16
fi
17
if [ $5 == True ]; then
18
git clone https://github.com/Bing-su/adetailer ./extensions/adetailer
19
fi
20
if [ $6 == True ]; then
21
git clone https://github.com/ninjaneural/segment-anything ./extensions/segment-anything
22
fi
23
24
git clone https://github.com/adieyal/sd-dynamic-prompts ./extensions/sd-dynamic-prompts
25
git clone https://github.com/mcmonkeyprojects/sd-dynamic-thresholding ./extensions/sd-dynamic-thresholding
26
git clone https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 ./extensions/multidiffusion-upscaler
27
git clone https://github.com/DominikDoom/a1111-sd-webui-tagcomplete ./extensions/tagcomplete
28
git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 ./extensions/ultimate-upscale
29
30
git clone https://github.com/neuralninja22/images-browser ./extensions/images-browser
31
git clone https://github.com/kohya-ss/sd-webui-additional-networks ./extensions/additional-networks
32
git clone https://github.com/picobyte/stable-diffusion-webui-wd14-tagger ./extensions/wd14-tagger
33
git clone https://github.com/yankooliveira/sd-webui-photopea-embed ./extensions/photopea-embed
34
35
git clone https://github.com/fkunn1326/openpose-editor ./extensions/openpose-editor
36
git clone https://github.com/hnmr293/posex ./extensions/posex
37
git clone https://github.com/fishslot/video_loopback_for_webui ./extensions/video_loopback
38
39
if [ $6 == True ]; then
40
mkdir ./models/sam
41
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth -d ./models/sam -o sam_vit_h_4b8939.pth
42
fi
43
44