stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Switch in one model to another in google colab

Open wilzamguerrero opened this issue 2 years ago • 6 comments

Hi for all my problem is i want to switch in different models but i dont know how can i add others, and the other problem is i try to load the model waifu, of course i replace the name for model, but don't work, um working in google colab and with my drive.

wilzamguerrero avatar Oct 17 '22 20:10 wilzamguerrero

Add a new block after loaded model.ckpt and you can fill more than one model (waifu 1.2 is unfortunately on a slow server, but 1.3 is better for anime): !wget --header={user_header} https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt

!wget --header={user_header} https://huggingface.co/naclbit/trinart_stable_diffusion_v2/resolve/main/trinart2_step115000.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/trinart2_step115000.ckpt

!wget --header={user_header} https://huggingface.co/naclbit/trinart_stable_diffusion/resolve/main/trinart_stable_diffusion_epoch3.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/trinart_stable_diffusion_epoch3.ckpt

!wget --header={user_header} https://huggingface.co/BumblingOrange/Hiten/resolve/main/Hiten%20girl_anime_8k_wallpaper_4k.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/Hiten%20girl_anime_8k_wallpaper_4k.ckpt

mykeehu avatar Oct 17 '22 20:10 mykeehu

@wilzamguerrero you should ask colab maintainers or tell us what colab you use first.

ClashSAN avatar Oct 17 '22 20:10 ClashSAN

Add a new block after loaded model.ckpt and you can fill more than one model (waifu 1.2 is unfortunately on a slow server, but 1.3 is better for anime): !wget --header={user_header} https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt

thank you so much for answer me, i put the arg for the folder models and work now, thank you so much

wilzamguerrero avatar Oct 17 '22 22:10 wilzamguerrero

How can i change the arg for save the images in other path, i see the list of commands but i dont find any for the save path? i add this but dont work. image and this but dont work image image

wilzamguerrero avatar Oct 18 '22 00:10 wilzamguerrero

Change this under Settings tab, while colab is running, it remembers the settings. I don't use addon commands on the colab.

mykeehu avatar Oct 18 '22 05:10 mykeehu

Ok i understand, thank you so much for all this amazing work for us.

wilzamguerrero avatar Oct 18 '22 05:10 wilzamguerrero