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

  • Log In
  • Sign Up

ghoskno
/
Color-Canny-Controlnet-model

Image-to-Image
Diffusers
English
jax-diffusers-event
Model card Files Files and versions
xet
Community
3

Instructions to use ghoskno/Color-Canny-Controlnet-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ghoskno/Color-Canny-Controlnet-model with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ghoskno/Color-Canny-Controlnet-model", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
Color-Canny-Controlnet-model
727 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
patrickvonplaten's picture
patrickvonplaten
Update README.md
7433705 almost 3 years ago
  • .gitattributes
    1.65 kB
    update: add brightness example image almost 3 years ago
  • 1.png
    1.1 MB
    xet
    Add: example image almost 3 years ago
  • 2.png
    1.1 MB
    xet
    Add: example image almost 3 years ago
  • 3.png
    1.08 MB
    xet
    Add: example image almost 3 years ago
  • 4.jpg
    1.38 MB
    xet
    update: add brightness example image almost 3 years ago
  • README.md
    1.88 kB
    Update README.md almost 3 years ago
  • config.json
    1.06 kB
    Upload with huggingface_hub about 3 years ago
  • diffusion_pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.HalfStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    723 MB
    xet
    Upload with huggingface_hub about 3 years ago