neonforestmist commited on
Commit
c93742e
·
verified ·
1 Parent(s): 95bf78b

Release high-quality context-aware inpainting U-Net

Browse files
unet/config.json CHANGED
@@ -1,65 +1,36 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.39.0",
4
- "_name_or_path": "neonforestmist/Clover-Image-Tiny-Inpaint",
5
  "act_fn": "silu",
6
- "addition_embed_type": null,
7
- "addition_embed_type_num_heads": 64,
8
- "addition_time_embed_dim": null,
9
  "attention_head_dim": 8,
10
- "attention_type": "default",
11
  "block_out_channels": [
12
  320,
13
  640,
 
14
  1280
15
  ],
16
  "center_input_sample": false,
17
- "class_embed_type": null,
18
- "class_embeddings_concat": false,
19
- "conv_in_kernel": 3,
20
- "conv_out_kernel": 3,
21
  "cross_attention_dim": 768,
22
- "cross_attention_norm": null,
23
  "down_block_types": [
24
  "CrossAttnDownBlock2D",
25
  "CrossAttnDownBlock2D",
26
- "CrossAttnDownBlock2D"
 
27
  ],
28
  "downsample_padding": 1,
29
- "dropout": 0.0,
30
- "dual_cross_attention": false,
31
- "encoder_hid_dim": null,
32
- "encoder_hid_dim_type": null,
33
  "flip_sin_to_cos": true,
34
  "freq_shift": 0,
35
  "in_channels": 9,
36
- "layers_per_block": 1,
37
- "mid_block_only_cross_attention": null,
38
  "mid_block_scale_factor": 1,
39
- "mid_block_type": null,
40
  "norm_eps": 1e-05,
41
  "norm_num_groups": 32,
42
- "num_attention_heads": null,
43
- "num_class_embeds": null,
44
- "only_cross_attention": false,
45
  "out_channels": 4,
46
- "projection_class_embeddings_input_dim": null,
47
- "resnet_out_scale_factor": 1.0,
48
- "resnet_skip_time_act": false,
49
- "resnet_time_scale_shift": "default",
50
- "reverse_transformer_layers_per_block": null,
51
  "sample_size": 64,
52
- "time_cond_proj_dim": null,
53
- "time_embedding_act_fn": null,
54
- "time_embedding_dim": null,
55
- "time_embedding_type": "positional",
56
- "timestep_post_act": null,
57
- "transformer_layers_per_block": 1,
58
  "up_block_types": [
 
59
  "CrossAttnUpBlock2D",
60
  "CrossAttnUpBlock2D",
61
  "CrossAttnUpBlock2D"
62
- ],
63
- "upcast_attention": false,
64
- "use_linear_projection": false
65
  }
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.6.0.dev0",
 
4
  "act_fn": "silu",
 
 
 
5
  "attention_head_dim": 8,
 
6
  "block_out_channels": [
7
  320,
8
  640,
9
+ 1280,
10
  1280
11
  ],
12
  "center_input_sample": false,
 
 
 
 
13
  "cross_attention_dim": 768,
 
14
  "down_block_types": [
15
  "CrossAttnDownBlock2D",
16
  "CrossAttnDownBlock2D",
17
+ "CrossAttnDownBlock2D",
18
+ "DownBlock2D"
19
  ],
20
  "downsample_padding": 1,
 
 
 
 
21
  "flip_sin_to_cos": true,
22
  "freq_shift": 0,
23
  "in_channels": 9,
24
+ "layers_per_block": 2,
 
25
  "mid_block_scale_factor": 1,
 
26
  "norm_eps": 1e-05,
27
  "norm_num_groups": 32,
 
 
 
28
  "out_channels": 4,
 
 
 
 
 
29
  "sample_size": 64,
 
 
 
 
 
 
30
  "up_block_types": [
31
+ "UpBlock2D",
32
  "CrossAttnUpBlock2D",
33
  "CrossAttnUpBlock2D",
34
  "CrossAttnUpBlock2D"
35
+ ]
 
 
36
  }
unet/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e259f0bbb2731591d9677f7cf6894dd081e2420f830ec298c0377bc0af3ad553
3
- size 1293641232
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24b788b4a777748377cc20364eea4ae113c8c42f4468c16bc8c02fdae5492af9
3
+ size 1719154104