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
Commit ·
c6c2d11
1
Parent(s): 464158e
Add Diffusers model for SD 1.5. (#9)
Browse files- Add Diffusers model for SD 1.5. (b37bbdaecb8b75bd1567bbd9db7f25ad8d223454)
Files changed (4)
123456789101112131415161718192021222324252627282930313233343536373839404142{ "_class_name": "ControlNetModel", "_diffusers_version": "0.15.0.dev0", "_name_or_path": "/home/josephcatrambone/ControlNet/models", "act_fn": "silu", "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "class_embed_type": null, "conditioning_embedding_out_channels": [ 16, 32, 96, 256 ], "controlnet_conditioning_channel_order": "rgb", "cross_attention_dim": 768, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "only_cross_attention": false, "projection_class_embeddings_input_dim": null, "resnet_time_scale_shift": "default", "upcast_attention": null, "use_linear_projection": false}123version https://git-lfs.github.com/spec/v1oid sha256:f63de389f776b75bb11f10487a187573aea84f9a51debd08f314bd084e7fb362size 1445254969123version https://git-lfs.github.com/spec/v1oid sha256:0c37b3dd41e956160909129b50f84fd938116550727b491192cbdbe6f896cd7bsize 722696633123version https://git-lfs.github.com/spec/v1oid sha256:9fb50465b4fd7e15f0dc7df8031767e57309cfda2917082485bcf6c11bedb540size 722598642config_sd15.jsonAdded+42
diffusion_pytorch_model_sd15.binAdded+3
diffusion_pytorch_model_sd15.fp16.binAdded+3
diffusion_pytorch_model_sd15.fp16.safetensorsAdded+3