Image-to-Image
Diffusers
English
stable-diffusion
stable-diffusion-diffusers
controlnet
jax-diffusers-event
Instructions to use mfidabel/controlnet-segment-anything with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mfidabel/controlnet-segment-anything with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("mfidabel/controlnet-segment-anything") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle