Instructions to use lllyasviel/sd-controlnet-seg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/sd-controlnet-seg with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-seg") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Download diffusion_pytorch_model.safetensors from lllyasviel/sd-controlnet-seg: direct link, hf CLI and curl.
- Browser
- Download file 1.45 GB
-
https://huggingface.co/lllyasviel/sd-controlnet-seg/resolve/main/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://lllyasviel/sd-controlnet-seg/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/lllyasviel/sd-controlnet-seg/resolve/main/diffusion_pytorch_model.safetensors
1.45 GB
- Xet hash:
- 74336c09614fc308d386d5591dc1c056f08e45f8e84ced333573dc93ffd02946
- Size of remote file:
- 1.45 GB
- SHA256:
- a623efef98586c1337a0c6dd7ba45af209d2ae00d5c563432cfbfd4ec8a4d617
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.