Instructions to use heboya8/controlnet-sd-2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use heboya8/controlnet-sd-2.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("heboya8/controlnet-sd-2.1", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Delete checkpoint-3500
Browse files
checkpoint-3500/controlnet/config.json
DELETED
|
@@ -1,56 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_class_name": "ControlNetModel",
|
| 3 |
-
"_diffusers_version": "0.35.0.dev0",
|
| 4 |
-
"act_fn": "silu",
|
| 5 |
-
"addition_embed_type": null,
|
| 6 |
-
"addition_embed_type_num_heads": 64,
|
| 7 |
-
"addition_time_embed_dim": null,
|
| 8 |
-
"attention_head_dim": [
|
| 9 |
-
5,
|
| 10 |
-
10,
|
| 11 |
-
20,
|
| 12 |
-
20
|
| 13 |
-
],
|
| 14 |
-
"block_out_channels": [
|
| 15 |
-
320,
|
| 16 |
-
640,
|
| 17 |
-
1280,
|
| 18 |
-
1280
|
| 19 |
-
],
|
| 20 |
-
"class_embed_type": null,
|
| 21 |
-
"conditioning_channels": 3,
|
| 22 |
-
"conditioning_embedding_out_channels": [
|
| 23 |
-
16,
|
| 24 |
-
32,
|
| 25 |
-
96,
|
| 26 |
-
256
|
| 27 |
-
],
|
| 28 |
-
"controlnet_conditioning_channel_order": "rgb",
|
| 29 |
-
"cross_attention_dim": 1024,
|
| 30 |
-
"down_block_types": [
|
| 31 |
-
"CrossAttnDownBlock2D",
|
| 32 |
-
"CrossAttnDownBlock2D",
|
| 33 |
-
"CrossAttnDownBlock2D",
|
| 34 |
-
"DownBlock2D"
|
| 35 |
-
],
|
| 36 |
-
"downsample_padding": 1,
|
| 37 |
-
"encoder_hid_dim": null,
|
| 38 |
-
"encoder_hid_dim_type": null,
|
| 39 |
-
"flip_sin_to_cos": true,
|
| 40 |
-
"freq_shift": 0,
|
| 41 |
-
"global_pool_conditions": false,
|
| 42 |
-
"in_channels": 4,
|
| 43 |
-
"layers_per_block": 2,
|
| 44 |
-
"mid_block_scale_factor": 1,
|
| 45 |
-
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
| 46 |
-
"norm_eps": 1e-05,
|
| 47 |
-
"norm_num_groups": 32,
|
| 48 |
-
"num_attention_heads": null,
|
| 49 |
-
"num_class_embeds": null,
|
| 50 |
-
"only_cross_attention": false,
|
| 51 |
-
"projection_class_embeddings_input_dim": null,
|
| 52 |
-
"resnet_time_scale_shift": "default",
|
| 53 |
-
"transformer_layers_per_block": 1,
|
| 54 |
-
"upcast_attention": true,
|
| 55 |
-
"use_linear_projection": true
|
| 56 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
checkpoint-3500/controlnet/diffusion_pytorch_model.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ed0356a2df969dbbef4704156b42943d67b9fc1c7a9f3d7319cab42b7c59352f
|
| 3 |
-
size 1456953560
|
|
|
|
|
|
|
|
|
|
|
|
checkpoint-3500/optimizer.bin
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6506d931efe0803a6d5c0f4aeb06d5ddecfa3064dc2a396f88eb0d15db5c4a0c
|
| 3 |
-
size 741120954
|
|
|
|
|
|
|
|
|
|
|
|
checkpoint-3500/random_states_0.pkl
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8f795764acd2b59010fa2456d0cdf019811e24d1907b1bde74251982f8257e59
|
| 3 |
-
size 14344
|
|
|
|
|
|
|
|
|
|
|
|
checkpoint-3500/scaler.pt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9d25c9e5c384ba91142c829ef5432ebc4ae7d8c71f3de723046dd3aa202e08a2
|
| 3 |
-
size 988
|
|
|
|
|
|
|
|
|
|
|
|
checkpoint-3500/scheduler.bin
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f13dcf2bd32cc99cb6ecb7a665dde61cfe6707573748c4cbe881eff46fac19fc
|
| 3 |
-
size 1000
|
|
|
|
|
|
|
|
|
|
|
|