Lora / housearch_runpod.sh
housearch's picture
Upload housearch_runpod.sh
21eed47
#!/bin/bash
echo "today is " `date`
echo "$PWD"
#wget https://huggingface.co/housearch/SDXL_LoRA_Muji/resolve/main/housearch_muji_xl.png -O $(PWD)/housearch_muji_xl_chris.png
#下載C站的模型用法(自行更改後面下載連結)
#wget --trust-server-name --content-disposition https://civitai.com/api/download/models/127510
#不需要下載的請在該行最前面加上#,註釋掉後就不執行了
#下載 SDXL base 1.0模型
cd /workspace/sd/stable-diffusion-webui/models/Stable-diffusion/
wget --trust-server-name --content-disposition https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors
#下載 SDXL refiner 1.0模型
cd /workspace/sd/stable-diffusion-webui/models/Stable-diffusion/
wget --trust-server-name --content-disposition https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors
#下載 SDXL VAE 1.0模型
cd /workspace/sd/stable-diffusion-webui/models/VAE/
wget --trust-server-name --content-disposition https://huggingface.co/stabilityai/sdxl-vae/resolve/main/sdxl_vae.safetensors
#下載 Realistic V2.0模型
cd /workspace/sd/stable-diffusion-webui/models/Stable-diffusion/
wget --trust-server-name --content-disposition https://huggingface.co/SG161222/Realistic_Vision_V2.0/resolve/main/Realistic_Vision_V2.0.safetensors
#下載 配合Realistic V2.0模型的VAE
cd /workspace/sd/stable-diffusion-webui/models/VAE/
wget --trust-server-name --content-disposition https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors
#下載 Realistic V5.0模型(no VAE)
cd /workspace/sd/stable-diffusion-webui/models/Stable-diffusion/
wget --trust-server-name --content-disposition https://huggingface.co/SG161222/Realistic_Vision_V5.0_noVAE/resolve/main/Realistic_Vision_V5.0.safetensors
#下載 4x-ultraSharp 放大模型
cd /workspace/sd/stable-diffusion-webui/models/ESRGAN/
wget --trust-server-name --content-disposition https://huggingface.co/housearch/Lora/resolve/main/4x-UltraSharp.pth
#下載 housearch 所有 SD1.5 模型
cd /workspace/sd/stable-diffusion-webui/models/Lora/
wget --trust-server-name --content-disposition -A safetensors -r -l 1 -nd https://huggingface.co/housearch/Lora/tree/main