Run this model with HF Jobs
Run thibaud/controlnet-sd21 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/thibaud/controlnet-sd21. 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/thibaud/controlnet-sd21 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 thibaud/controlnet-sd21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use thibaud/controlnet-sd21 with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("thibaud/controlnet-sd21") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
New to Using Hugging Face Model in CntrolNetModel
#33
by L3O - opened
Hi :)
I am new to using those kind of models in hugging face.
I have a piece of code to using control net as it is seen in the example on page : https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion/controlnet
However, as I am not sure how to use your models.
How do I load them to use them as controller using StableDiffusionControlNetPipeline and ControlNetModel Huggingface pipelines
Thanks in advance :)
L3O changed discussion title from New to Using Hugging Face Model to New to Using Hugging Face Model in CntrolNetModel