dragynir commited on
Commit
9c77b03
1 Parent(s): 66f4dc2

remove old models

Browse files
README.md CHANGED
@@ -28,10 +28,9 @@ a handsome man relaxing in a chair, shirt widely unbuttoned, eyes closed, close
28
  - [x] adaptive resize размеры
29
  - [x] пофиксить загрузку маски
30
  - [x] подобрать нормальные промпты к примерам, добавить negative prompt (https://blog.segmind.com/prompt-guide-for-stable-diffusion-xl-crafting-textual-descriptions-for-image-generation/)
31
- - [ ] сгенерировать прикольные примеры - штаны на голове и т д
32
  - [ ] разобраться с выставлением device в пайплайн
33
  - [ ] удалить ненужные веса
34
  - [ ] небольшой рефач - dark theme - можно попробовать
35
  - [ ] проверка ссылок
36
- - [ ] залить версию в main
37
  - [ ] настроить запуск в hugging space
 
28
  - [x] adaptive resize размеры
29
  - [x] пофиксить загрузку маски
30
  - [x] подобрать нормальные промпты к примерам, добавить negative prompt (https://blog.segmind.com/prompt-guide-for-stable-diffusion-xl-crafting-textual-descriptions-for-image-generation/)
 
31
  - [ ] разобраться с выставлением device в пайплайн
32
  - [ ] удалить ненужные веса
33
  - [ ] небольшой рефач - dark theme - можно попробовать
34
  - [ ] проверка ссылок
35
+ - [ ] залить версию в main
36
  - [ ] настроить запуск в hugging space
config.py CHANGED
@@ -17,7 +17,7 @@ class PipelineConfig:
17
 
18
  vae_path: str = 'madebyollin/sdxl-vae-fp16-fix'
19
 
20
- controlnet_path: str = os.path.join(weights_path, 'controlnet_rgb')
21
 
22
  segmentation_model_path: str = os.path.join(weights_path, 'cloth_segm.pth')
23
 
 
17
 
18
  vae_path: str = 'madebyollin/sdxl-vae-fp16-fix'
19
 
20
+ controlnet_path: str = os.path.join(weights_path, 'controlnet')
21
 
22
  segmentation_model_path: str = os.path.join(weights_path, 'cloth_segm.pth')
23
 
weights/{controlnet_adaptive → controlnet}/config.json RENAMED
File without changes
weights/{controlnet_rgb → controlnet}/diffusion_pytorch_model.safetensors RENAMED
File without changes
weights/controlnet_adaptive/DELETE_THIS_FOLDER.md DELETED
File without changes
weights/controlnet_adaptive/diffusion_pytorch_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5edfaac535c704da470ecf41614b3b84a4ead9d5f25f970de38ad026e25e5aa1
3
- size 5004167864
 
 
 
 
weights/controlnet_baseline/DELETE_THIS_FOLDER.md DELETED
File without changes
weights/controlnet_baseline/config.json DELETED
@@ -1,57 +0,0 @@
1
- {
2
- "_class_name": "ControlNetModel",
3
- "_diffusers_version": "0.25.0.dev0",
4
- "act_fn": "silu",
5
- "addition_embed_type": "text_time",
6
- "addition_embed_type_num_heads": 64,
7
- "addition_time_embed_dim": 256,
8
- "attention_head_dim": [
9
- 5,
10
- 10,
11
- 20
12
- ],
13
- "block_out_channels": [
14
- 320,
15
- 640,
16
- 1280
17
- ],
18
- "class_embed_type": null,
19
- "conditioning_channels": 3,
20
- "conditioning_embedding_out_channels": [
21
- 16,
22
- 32,
23
- 96,
24
- 256
25
- ],
26
- "controlnet_conditioning_channel_order": "rgb",
27
- "cross_attention_dim": 2048,
28
- "down_block_types": [
29
- "DownBlock2D",
30
- "CrossAttnDownBlock2D",
31
- "CrossAttnDownBlock2D"
32
- ],
33
- "downsample_padding": 1,
34
- "encoder_hid_dim": null,
35
- "encoder_hid_dim_type": null,
36
- "flip_sin_to_cos": true,
37
- "freq_shift": 0,
38
- "global_pool_conditions": false,
39
- "in_channels": 4,
40
- "layers_per_block": 2,
41
- "mid_block_scale_factor": 1,
42
- "mid_block_type": "UNetMidBlock2DCrossAttn",
43
- "norm_eps": 1e-05,
44
- "norm_num_groups": 32,
45
- "num_attention_heads": null,
46
- "num_class_embeds": null,
47
- "only_cross_attention": false,
48
- "projection_class_embeddings_input_dim": 2816,
49
- "resnet_time_scale_shift": "default",
50
- "transformer_layers_per_block": [
51
- 1,
52
- 2,
53
- 10
54
- ],
55
- "upcast_attention": null,
56
- "use_linear_projection": true
57
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
weights/controlnet_baseline/diffusion_pytorch_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f85f8ade2174d2757de3b00d302309d99e0b7995dc45f610ad9bf3d9aac95470
3
- size 5004167864
 
 
 
 
weights/controlnet_rgb/config.json DELETED
@@ -1,57 +0,0 @@
1
- {
2
- "_class_name": "ControlNetModel",
3
- "_diffusers_version": "0.25.0.dev0",
4
- "act_fn": "silu",
5
- "addition_embed_type": "text_time",
6
- "addition_embed_type_num_heads": 64,
7
- "addition_time_embed_dim": 256,
8
- "attention_head_dim": [
9
- 5,
10
- 10,
11
- 20
12
- ],
13
- "block_out_channels": [
14
- 320,
15
- 640,
16
- 1280
17
- ],
18
- "class_embed_type": null,
19
- "conditioning_channels": 3,
20
- "conditioning_embedding_out_channels": [
21
- 16,
22
- 32,
23
- 96,
24
- 256
25
- ],
26
- "controlnet_conditioning_channel_order": "rgb",
27
- "cross_attention_dim": 2048,
28
- "down_block_types": [
29
- "DownBlock2D",
30
- "CrossAttnDownBlock2D",
31
- "CrossAttnDownBlock2D"
32
- ],
33
- "downsample_padding": 1,
34
- "encoder_hid_dim": null,
35
- "encoder_hid_dim_type": null,
36
- "flip_sin_to_cos": true,
37
- "freq_shift": 0,
38
- "global_pool_conditions": false,
39
- "in_channels": 4,
40
- "layers_per_block": 2,
41
- "mid_block_scale_factor": 1,
42
- "mid_block_type": "UNetMidBlock2DCrossAttn",
43
- "norm_eps": 1e-05,
44
- "norm_num_groups": 32,
45
- "num_attention_heads": null,
46
- "num_class_embeds": null,
47
- "only_cross_attention": false,
48
- "projection_class_embeddings_input_dim": 2816,
49
- "resnet_time_scale_shift": "default",
50
- "transformer_layers_per_block": [
51
- 1,
52
- 2,
53
- 10
54
- ],
55
- "upcast_attention": null,
56
- "use_linear_projection": true
57
- }