Run this model with HF Jobs
Run ghoskno/Color-Canny-Controlnet-model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ghoskno/Color-Canny-Controlnet-model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ghoskno/Color-Canny-Controlnet-model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
update: update brightness examples description
Browse files11 unmodified lines1213141516171819202110 unmodified lines32333435363711 unmodified lines# Color-Canny CantrolNetThese are controlnet checkpoints trained on runwayml/stable-diffusion-v1-5, using fused color and canny edge as conditioning.You can find some example images in the following.**prompt**: a concept art of by Makoto Shinkai, a girl is standing in the middle of the sea**negative prompt**: text, bad anatomy, blurry, (low quality, blurry)10 unmodified lines## Limitations and Bias- No strict control by input color11 unmodified lines121314151617181920212223242510 unmodified lines363738394041424344454611 unmodified lines# Color-Canny CantrolNetThese are ControlNet checkpoints trained on runwayml/stable-diffusion-v1-5, using fused color and canny edge as conditioning.You can find some example images in the following.## Examples#### Color examples**prompt**: a concept art of by Makoto Shinkai, a girl is standing in the middle of the sea**negative prompt**: text, bad anatomy, blurry, (low quality, blurry)10 unmodified lines#### Brightness examplesThis model also can be used to control image brightness. The following images are generated with different brightness conditioning image and controlnet strength(0.5 ~ 0.7).## Limitations and Bias- No strict control by input color
README.md+10-1