Text-to-Image
Diffusers
Safetensors
stable-diffusion
stable-diffusion-diffusers
controlnet
diffusers-training
Run this model with HF Jobs
Run ntaurozzi/controlnet_2 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/ntaurozzi/controlnet_2. 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/ntaurozzi/controlnet_2 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 ntaurozzi/controlnet_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ntaurozzi/controlnet_2 with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("ntaurozzi/controlnet_2") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse filesFiles changed (12)
- .gitattributes+1
- README.mdAdded+43
- checkpoint-2500/controlnet/config.jsonAdded+51
- checkpoint-2500/controlnet/diffusion_pytorch_model.safetensorsAdded+3
- checkpoint-2500/optimizer.binAdded+3
- checkpoint-2500/random_states_0.pklAdded+3
- checkpoint-2500/scaler.ptAdded+3
- checkpoint-2500/scheduler.binAdded+3
- config.jsonAdded+51
- diffusion_pytorch_model.safetensorsAdded+3
- image_control.pngAdded
- images_0.pngAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textimages_0.png filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243---base_model: runwayml/stable-diffusion-v1-5library_name: diffuserslicense: creativeml-openrail-minference: truetags:- stable-diffusion- stable-diffusion-diffusers- text-to-image- diffusers- controlnet- diffusers-training---
<!-- This model card has been generated automatically according to the information the training script had access to. Youshould probably proofread and complete it, then remove this comment. -->
# controlnet-ntaurozzi/controlnet_2
These are controlnet weights trained on runwayml/stable-diffusion-v1-5 with new type of conditioning.You can find some example images below.
prompt: micrograph of cell in metaphase
## Intended uses & limitations
#### How to use
```python# TODO: add an example code snippet for running this diffusion pipeline```
#### Limitations and bias
[TODO: provide examples of latent issues and potential remediations]
## Training details
[TODO: describe the data used to train the model]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "_class_name": "ControlNetModel", "_diffusers_version": "0.35.1", "act_fn": "silu", "addition_embed_type": null, "addition_embed_type_num_heads": 64, "addition_time_embed_dim": null, "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "class_embed_type": null, "conditioning_channels": 3, "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, "encoder_hid_dim": null, "encoder_hid_dim_type": null, "flip_sin_to_cos": true, "freq_shift": 0, "global_pool_conditions": false, "in_channels": 4, "layers_per_block": 2, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2DCrossAttn", "norm_eps": 1e-05, "norm_num_groups": 32, "num_attention_heads": null, "num_class_embeds": null, "only_cross_attention": false, "projection_class_embeddings_input_dim": null, "resnet_time_scale_shift": "default", "transformer_layers_per_block": 1, "upcast_attention": false, "use_linear_projection": false}123version https://git-lfs.github.com/spec/v1oid sha256:e791cb2fb1d016c2d2a87a402b2f01f7d80293e79a3b3f25cdceafbcaa0e7b61size 1445157120123version https://git-lfs.github.com/spec/v1oid sha256:87b4c31c1522179562645aaeae156b52723f95c128ba3b84bb24bba9fb70f1b0size 2890518478123version https://git-lfs.github.com/spec/v1oid sha256:9d38d4596decb4b01d8c56b04fa513ff9574449d1e2bd32bf7433d25ffa353f1size 14344123version https://git-lfs.github.com/spec/v1oid sha256:48e2d97f563bb838328076a1666504681962151a3975a2f064be3a03e6500740size 988123version https://git-lfs.github.com/spec/v1oid sha256:e9244a743d4761f975ab2a14d0b7a509a85554dd77bef6490330160a2a639faesize 1000123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "_class_name": "ControlNetModel", "_diffusers_version": "0.35.1", "act_fn": "silu", "addition_embed_type": null, "addition_embed_type_num_heads": 64, "addition_time_embed_dim": null, "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "class_embed_type": null, "conditioning_channels": 3, "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, "encoder_hid_dim": null, "encoder_hid_dim_type": null, "flip_sin_to_cos": true, "freq_shift": 0, "global_pool_conditions": false, "in_channels": 4, "layers_per_block": 2, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2DCrossAttn", "norm_eps": 1e-05, "norm_num_groups": 32, "num_attention_heads": null, "num_class_embeds": null, "only_cross_attention": false, "projection_class_embeddings_input_dim": null, "resnet_time_scale_shift": "default", "transformer_layers_per_block": 1, "upcast_attention": false, "use_linear_projection": false}123version https://git-lfs.github.com/spec/v1oid sha256:1a203897db377ddaa23602e58598a7fe7bac37cac42f2b9b6184fbf361090aeasize 1445157120.gitattributes+1
README.mdAdded+43
checkpoint-2500/controlnet/config.jsonAdded+51
checkpoint-2500/controlnet/diffusion_pytorch_model.safetensorsAdded+3
checkpoint-2500/optimizer.binAdded+3
checkpoint-2500/random_states_0.pklAdded+3
checkpoint-2500/scaler.ptAdded+3
checkpoint-2500/scheduler.binAdded+3
config.jsonAdded+51
diffusion_pytorch_model.safetensorsAdded+3
image_control.pngAdded

images_0.pngAdded

Large File Pointer Details
- SHA256: 2517e5b8025c8b2e02bd114227675cd2778466e6fdfa6ac4b87441cc32bdf3b7
- Pointer size: 132 Bytes
- Size of remote file: 1.02 MB