Text-to-Image
Diffusers
TensorBoard
lora
diffusers-training
stable-diffusion
stable-diffusion-diffusers
Instructions to use PablitoGil14/mhead_pigs-stable-diffusion-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PablitoGil14/mhead_pigs-stable-diffusion-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PablitoGil14/mhead_pigs-stable-diffusion-v2") prompt = "a photo of a pig head" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download checkpoint-400/optimizer.bin from PablitoGil14/mhead_pigs-stable-diffusion-v2: direct link, hf CLI and curl.
- Browser
- Download file 6.85 MB
-
https://huggingface.co/PablitoGil14/mhead_pigs-stable-diffusion-v2/resolve/main/checkpoint-400/optimizer.bin
- Command line
-
hf download hf://PablitoGil14/mhead_pigs-stable-diffusion-v2/checkpoint-400/optimizer.bin
-
curl -L -o optimizer.bin https://huggingface.co/PablitoGil14/mhead_pigs-stable-diffusion-v2/resolve/main/checkpoint-400/optimizer.bin
6.85 MB
- Xet hash:
- 82f4e52cf8d732b871556b27f6495a026a8568e5f53c3ebc7490d044db76d3bf
- Size of remote file:
- 6.85 MB
- SHA256:
- 86c1f8dce7a90aef7efd42f790d29596e3a6581e217e71871abd303a0d9cf8c5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.