Run this model with HF Jobs
Run CrucibleAI/ControlNetMediaPipeFace 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/CrucibleAI/ControlNetMediaPipeFace. 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/CrucibleAI/ControlNetMediaPipeFace 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 CrucibleAI/ControlNetMediaPipeFace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CrucibleAI/ControlNetMediaPipeFace with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("CrucibleAI/ControlNetMediaPipeFace") pipe = StableDiffusionControlNetPipeline.from_pretrained( "stabilityai/stable-diffusion-2-1-base", controlnet=controlnet ) - MediaPipe
How to use CrucibleAI/ControlNetMediaPipeFace with MediaPipe:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
How to Install the latest version?
I downloaded control_v2p_sd21_mediapipe_face.safetensors and yaml in to the models/ControlNet folder but I don't see mediapipe_face in the preprocessor tab, though I can see control_v2p_sd21_mediapipe_face in the model tab
The changes we have are compatible with (and have been merged into) this extension: https://github.com/Mikubill/sd-webui-controlnet If you do 'add extensions', install this, and then put the control_v2p_sd21_mediapipe_face.safetensor+yaml (for Stable Diffusion 2.1) OR control_v2p_sd15_mediapipe_face.safetensor+yaml (for Stable Diffusion 1.5) into the <automatic1111 folder>/extensions/sd-webui-controlnet/models/ then you should see it under the preprocessor tab.