Upload housearch_runpod.sh
Browse files- housearch_runpod.sh +43 -0
housearch_runpod.sh
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
echo "today is " `date`
|
4 |
+
echo "$PWD"
|
5 |
+
|
6 |
+
#wget https://huggingface.co/housearch/SDXL_LoRA_Muji/resolve/main/housearch_muji_xl.png -O $(PWD)/housearch_muji_xl_chris.png
|
7 |
+
|
8 |
+
#下載C站的模型用法(自行更改後面下載連結)
|
9 |
+
#wget --trust-server-name --content-disposition https://civitai.com/api/download/models/127510
|
10 |
+
#不需要下載的請在該行最前面加上#,註釋掉後就不執行了
|
11 |
+
|
12 |
+
#下載 SDXL base 1.0模型
|
13 |
+
cd /workspace/sd/stable-diffusion-webui/models/Stable-diffusion/
|
14 |
+
wget --trust-server-name --content-disposition https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors
|
15 |
+
|
16 |
+
#下載 SDXL refiner 1.0模型
|
17 |
+
cd /workspace/sd/stable-diffusion-webui/models/Stable-diffusion/
|
18 |
+
wget --trust-server-name --content-disposition https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors
|
19 |
+
|
20 |
+
#下載 SDXL VAE 1.0模型
|
21 |
+
cd /workspace/sd/stable-diffusion-webui/models/VAE/
|
22 |
+
wget --trust-server-name --content-disposition https://huggingface.co/stabilityai/sdxl-vae/resolve/main/sdxl_vae.safetensors
|
23 |
+
|
24 |
+
#下載 Realistic V2.0模型
|
25 |
+
cd /workspace/sd/stable-diffusion-webui/models/Stable-diffusion/
|
26 |
+
wget --trust-server-name --content-disposition https://huggingface.co/SG161222/Realistic_Vision_V2.0/resolve/main/Realistic_Vision_V2.0.safetensors
|
27 |
+
|
28 |
+
#下載 配合Realistic V2.0模型的VAE
|
29 |
+
cd /workspace/sd/stable-diffusion-webui/models/VAE/
|
30 |
+
wget --trust-server-name --content-disposition https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors
|
31 |
+
|
32 |
+
#下載 Realistic V5.0模型(no VAE)
|
33 |
+
cd /workspace/sd/stable-diffusion-webui/models/Stable-diffusion/
|
34 |
+
wget --trust-server-name --content-disposition https://huggingface.co/SG161222/Realistic_Vision_V5.0_noVAE/resolve/main/Realistic_Vision_V5.0.safetensors
|
35 |
+
|
36 |
+
#下載 4x-ultraSharp 放大模型
|
37 |
+
cd /workspace/sd/stable-diffusion-webui/models/ESRGAN/
|
38 |
+
wget --trust-server-name --content-disposition https://huggingface.co/housearch/Lora/resolve/main/4x-UltraSharp.pth
|
39 |
+
|
40 |
+
#下載 housearch 所有 SD1.5 模型
|
41 |
+
cd /workspace/sd/stable-diffusion-webui/models/Lora/
|
42 |
+
wget --trust-server-name --content-disposition -A safetensors -r -l 1 -nd https://huggingface.co/housearch/Lora/tree/main
|
43 |
+
|