Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

SAMControlNet
/
sd-controlnet-sam-seg

Image-to-Image
Diffusers
Safetensors
stable-diffusion
stable-diffusion-diffusers
controlnet
jax-diffusers-event
Model card Files Files and versions
xet
Community
1

Instructions to use SAMControlNet/sd-controlnet-sam-seg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use SAMControlNet/sd-controlnet-sam-seg with Diffusers:

    pip install -U diffusers transformers accelerate
    from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
    
    controlnet = ControlNetModel.from_pretrained("SAMControlNet/sd-controlnet-sam-seg")
    pipe = StableDiffusionControlNetPipeline.from_pretrained(
    	"runwayml/stable-diffusion-v1-5", controlnet=controlnet
    )
  • Notebooks
  • Google Colab
  • Kaggle
sd-controlnet-sam-seg
8.67 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
patrickvonplaten's picture
patrickvonplaten
Upload folder using huggingface_hub (#1)
64f26b7 almost 3 years ago
  • 10000
    End of training about 3 years ago
  • 5000
    End of training about 3 years ago
  • .gitattributes
    1.53 kB
    End of training about 3 years ago
  • README.md
    580 Bytes
    Update README.md almost 3 years ago
  • config.json
    1.05 kB
    Upload folder using huggingface_hub (#1) almost 3 years ago
  • diffusion_flax_model.msgpack
    1.45 GB
    xet
    End of training about 3 years ago
  • diffusion_pytorch_model.bin
    1.45 GB
    xet
    Upload folder using huggingface_hub (#1) almost 3 years ago
  • diffusion_pytorch_model.fp16.bin
    723 MB
    xet
    Upload folder using huggingface_hub (#1) almost 3 years ago
  • diffusion_pytorch_model.fp16.safetensors
    723 MB
    xet
    Upload folder using huggingface_hub (#1) almost 3 years ago
  • diffusion_pytorch_model.safetensors
    1.45 GB
    xet
    Upload folder using huggingface_hub (#1) almost 3 years ago
  • image_control.png
    42.3 kB
    End of training about 3 years ago
  • images_0.png
    530 kB
    End of training about 3 years ago
  • images_1.png
    1.51 MB
    xet
    End of training about 3 years ago