Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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
1.45 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
nsanghi's picture
nsanghi
End of training
bd45d8e about 3 years ago
  • .gitattributes
    1.53 kB
    End of training about 3 years ago
  • README.md
    579 Bytes
    End of training about 3 years ago
  • config.json
    665 Bytes
    End of training about 3 years ago
  • diffusion_flax_model.msgpack
    1.45 GB
    xet
    End of training about 3 years ago
  • image_control.png
    42.3 kB
    End of training about 3 years ago
  • images_0.png
    581 kB
    End of training about 3 years ago
  • images_1.png
    1.61 MB
    xet
    End of training about 3 years ago