Dobby2022 commited on
Commit
38e452a
·
1 Parent(s): 8f31bb7

Upload 45 files

Browse files
Files changed (45) hide show
  1. dkfotgr/backups/db_config_0.json +113 -0
  2. dkfotgr/classifiers_0/1db56d4e519825387d370dc752d611ddfbf7f0c2.png +3 -0
  3. dkfotgr/classifiers_0/1db56d4e519825387d370dc752d611ddfbf7f0c2.txt +1 -0
  4. dkfotgr/classifiers_0/2a3773becbb4f79083d84f893e4c176500abc83f.png +3 -0
  5. dkfotgr/classifiers_0/2a3773becbb4f79083d84f893e4c176500abc83f.txt +1 -0
  6. dkfotgr/classifiers_0/38c20ac66a821047bf495ad8bf804cf5371e4a0a.png +3 -0
  7. dkfotgr/classifiers_0/38c20ac66a821047bf495ad8bf804cf5371e4a0a.txt +1 -0
  8. dkfotgr/classifiers_0/47f6469ce6d9317e11f4ffd5c99e7f712520445c.png +3 -0
  9. dkfotgr/classifiers_0/47f6469ce6d9317e11f4ffd5c99e7f712520445c.txt +1 -0
  10. dkfotgr/classifiers_0/5d6678a6fc7231a56b3df709d9652736dbd3fbdb.png +3 -0
  11. dkfotgr/classifiers_0/5d6678a6fc7231a56b3df709d9652736dbd3fbdb.txt +1 -0
  12. dkfotgr/classifiers_0/719596a15444740d850c75e13be9d175486bba73.png +3 -0
  13. dkfotgr/classifiers_0/719596a15444740d850c75e13be9d175486bba73.txt +1 -0
  14. dkfotgr/classifiers_0/74523319eab76e9b2fdaaa6f013a4cbeafa04420.png +3 -0
  15. dkfotgr/classifiers_0/74523319eab76e9b2fdaaa6f013a4cbeafa04420.txt +1 -0
  16. dkfotgr/classifiers_0/7f7891f0c1c5955b28ef1a288a8420a42b156178.png +3 -0
  17. dkfotgr/classifiers_0/7f7891f0c1c5955b28ef1a288a8420a42b156178.txt +1 -0
  18. dkfotgr/classifiers_0/94b45e4f827ca8c3d7c062234f9d6512ef3a02cb.png +3 -0
  19. dkfotgr/classifiers_0/94b45e4f827ca8c3d7c062234f9d6512ef3a02cb.txt +1 -0
  20. dkfotgr/classifiers_0/a2be71872da8f1103a430c4ec9183f807a4a6b9f.png +3 -0
  21. dkfotgr/classifiers_0/a2be71872da8f1103a430c4ec9183f807a4a6b9f.txt +1 -0
  22. dkfotgr/classifiers_0/c18ec95610e1415e7cc518c037b7af4d6a17351c.png +3 -0
  23. dkfotgr/classifiers_0/c18ec95610e1415e7cc518c037b7af4d6a17351c.txt +1 -0
  24. dkfotgr/classifiers_0/c7bcc9cf5efd0f3cff92dc073019650db30b9f85.png +3 -0
  25. dkfotgr/classifiers_0/c7bcc9cf5efd0f3cff92dc073019650db30b9f85.txt +1 -0
  26. dkfotgr/classifiers_0/c9a8264aff32d3156613c683fb133edb75a82b58.png +3 -0
  27. dkfotgr/classifiers_0/c9a8264aff32d3156613c683fb133edb75a82b58.txt +1 -0
  28. dkfotgr/classifiers_0/f157c780c42ce8cc9580168d440e18c25a908c9e.png +3 -0
  29. dkfotgr/classifiers_0/f157c780c42ce8cc9580168d440e18c25a908c9e.txt +1 -0
  30. dkfotgr/classifiers_0/f4a719a4ec67b6d38519e13bec1e741cd4639963.png +3 -0
  31. dkfotgr/classifiers_0/f4a719a4ec67b6d38519e13bec1e741cd4639963.txt +1 -0
  32. dkfotgr/db_config.json +113 -0
  33. dkfotgr/dkfotgr.yaml +70 -0
  34. dkfotgr/working/model_index.json +33 -0
  35. dkfotgr/working/scheduler/scheduler_config.json +20 -0
  36. dkfotgr/working/text_encoder/config.json +25 -0
  37. dkfotgr/working/text_encoder/model.safetensors +3 -0
  38. dkfotgr/working/tokenizer/merges.txt +0 -0
  39. dkfotgr/working/tokenizer/special_tokens_map.json +24 -0
  40. dkfotgr/working/tokenizer/tokenizer_config.json +34 -0
  41. dkfotgr/working/tokenizer/vocab.json +0 -0
  42. dkfotgr/working/unet/config.json +50 -0
  43. dkfotgr/working/unet/diffusion_pytorch_model.safetensors +3 -0
  44. dkfotgr/working/vae/config.json +30 -0
  45. dkfotgr/working/vae/diffusion_pytorch_model.safetensors +3 -0
dkfotgr/backups/db_config_0.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "adamw_weight_decay": 0.01,
3
+ "attention": "xformers",
4
+ "cache_latents": true,
5
+ "clip_skip": 1,
6
+ "concepts_list": [
7
+ {
8
+ "class_data_dir": "",
9
+ "class_guidance_scale": 7.5,
10
+ "class_infer_steps": 40,
11
+ "class_negative_prompt": "",
12
+ "class_prompt": "photo of man",
13
+ "class_token": "",
14
+ "instance_data_dir": "I:\\_SD\\LORA\\_projects\\dkfotgr\\src\\100_dkfotgr",
15
+ "instance_prompt": "dkfotgr man",
16
+ "instance_token": "",
17
+ "is_valid": true,
18
+ "n_save_sample": 1,
19
+ "num_class_images_per": 4,
20
+ "sample_seed": -1,
21
+ "save_guidance_scale": 7.5,
22
+ "save_infer_steps": 20,
23
+ "save_sample_negative_prompt": "",
24
+ "save_sample_prompt": "photo of dkfotgr man",
25
+ "save_sample_template": ""
26
+ }
27
+ ],
28
+ "concepts_path": "",
29
+ "custom_model_name": "",
30
+ "deis_train_scheduler": false,
31
+ "deterministic": false,
32
+ "ema_predict": false,
33
+ "epoch": 0,
34
+ "epoch_pause_frequency": 0,
35
+ "epoch_pause_time": 0,
36
+ "freeze_clip_normalization": false,
37
+ "gradient_accumulation_steps": 1,
38
+ "gradient_checkpointing": true,
39
+ "gradient_set_to_none": true,
40
+ "graph_smoothing": 50,
41
+ "half_model": false,
42
+ "train_unfrozen": false,
43
+ "has_ema": false,
44
+ "hflip": false,
45
+ "infer_ema": false,
46
+ "initial_revision": 0,
47
+ "learning_rate": 2e-06,
48
+ "learning_rate_min": 1e-06,
49
+ "lifetime_revision": 0,
50
+ "lora_learning_rate": 0.0002,
51
+ "lora_model_name": null,
52
+ "lora_unet_rank": 4,
53
+ "lora_txt_rank": 4,
54
+ "lora_txt_learning_rate": 0.0002,
55
+ "lora_txt_weight": 1,
56
+ "lora_weight": 1,
57
+ "lr_cycles": 1,
58
+ "lr_factor": 0.5,
59
+ "lr_power": 1,
60
+ "lr_scale_pos": 0.5,
61
+ "lr_scheduler": "constant_with_warmup",
62
+ "lr_warmup_steps": 0,
63
+ "max_token_length": 75,
64
+ "mixed_precision": "fp16",
65
+ "model_name": "dkfotgr",
66
+ "model_dir": "I:\\_SD\\stable-diffusion-webui\\models\\dreambooth\\dkfotgr",
67
+ "model_path": "I:\\_SD\\stable-diffusion-webui\\models\\dreambooth\\dkfotgr",
68
+ "num_train_epochs": 150,
69
+ "offset_noise": 0,
70
+ "optimizer": "8Bit Adam",
71
+ "pad_tokens": true,
72
+ "pretrained_model_name_or_path": "I:\\_SD\\stable-diffusion-webui\\models\\dreambooth\\dkfotgr\\working",
73
+ "pretrained_vae_name_or_path": null,
74
+ "prior_loss_scale": false,
75
+ "prior_loss_target": 100.0,
76
+ "prior_loss_weight": 0.75,
77
+ "prior_loss_weight_min": 0.1,
78
+ "resolution": 512,
79
+ "revision": 0,
80
+ "sample_batch_size": 1,
81
+ "sanity_prompt": "",
82
+ "sanity_seed": 420420.0,
83
+ "save_ckpt_after": true,
84
+ "save_ckpt_cancel": false,
85
+ "save_ckpt_during": false,
86
+ "save_ema": true,
87
+ "save_embedding_every": 25,
88
+ "save_lora_after": true,
89
+ "save_lora_cancel": false,
90
+ "save_lora_during": false,
91
+ "save_preview_every": 5,
92
+ "save_safetensors": true,
93
+ "save_state_after": false,
94
+ "save_state_cancel": false,
95
+ "save_state_during": false,
96
+ "scheduler": "DEISMultistep",
97
+ "shuffle_tags": true,
98
+ "snapshot": [],
99
+ "split_loss": true,
100
+ "src": "E:\\-AI\\openjourney-v2.ckpt",
101
+ "stop_text_encoder": 1,
102
+ "strict_tokens": false,
103
+ "tf32_enable": false,
104
+ "train_batch_size": 1,
105
+ "train_imagic": false,
106
+ "train_unet": true,
107
+ "use_concepts": false,
108
+ "use_ema": false,
109
+ "use_lora": true,
110
+ "use_lora_extended": false,
111
+ "use_subdir": true,
112
+ "v2": false
113
+ }
dkfotgr/classifiers_0/1db56d4e519825387d370dc752d611ddfbf7f0c2.png ADDED

Git LFS Details

  • SHA256: 5440521936c7f40f68d7fafe43a371adb6a5ccefab233a2b9cb85e0d496a3947
  • Pointer size: 131 Bytes
  • Size of remote file: 435 kB
dkfotgr/classifiers_0/1db56d4e519825387d370dc752d611ddfbf7f0c2.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/2a3773becbb4f79083d84f893e4c176500abc83f.png ADDED

Git LFS Details

  • SHA256: 8fe1e3596e365a7e2958982a68300678baad3621e269d19363211c1aca4de234
  • Pointer size: 131 Bytes
  • Size of remote file: 321 kB
dkfotgr/classifiers_0/2a3773becbb4f79083d84f893e4c176500abc83f.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/38c20ac66a821047bf495ad8bf804cf5371e4a0a.png ADDED

Git LFS Details

  • SHA256: 246c013a8abad11ba61c78856c23b0012618f074e9578fa7e33c5fb7a7a4d495
  • Pointer size: 131 Bytes
  • Size of remote file: 402 kB
dkfotgr/classifiers_0/38c20ac66a821047bf495ad8bf804cf5371e4a0a.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/47f6469ce6d9317e11f4ffd5c99e7f712520445c.png ADDED

Git LFS Details

  • SHA256: e92b3f1699fac6329f90eb80bed9c6c42d1d9116bc8f9518534d6f9401910659
  • Pointer size: 131 Bytes
  • Size of remote file: 405 kB
dkfotgr/classifiers_0/47f6469ce6d9317e11f4ffd5c99e7f712520445c.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/5d6678a6fc7231a56b3df709d9652736dbd3fbdb.png ADDED

Git LFS Details

  • SHA256: d9d66b25e12b2ff59798c0a4a96687751a21a9e65cfd7511b987f27235ca4cb0
  • Pointer size: 131 Bytes
  • Size of remote file: 365 kB
dkfotgr/classifiers_0/5d6678a6fc7231a56b3df709d9652736dbd3fbdb.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/719596a15444740d850c75e13be9d175486bba73.png ADDED

Git LFS Details

  • SHA256: bdb49ac56722056be0ae60b65e66a655e72af0dfbd0d7485763586ffafde82fb
  • Pointer size: 131 Bytes
  • Size of remote file: 370 kB
dkfotgr/classifiers_0/719596a15444740d850c75e13be9d175486bba73.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/74523319eab76e9b2fdaaa6f013a4cbeafa04420.png ADDED

Git LFS Details

  • SHA256: 344fc02c37a84eec64d8da9d7d53ef278cd1c7313494907447c533f64fd5fddf
  • Pointer size: 131 Bytes
  • Size of remote file: 447 kB
dkfotgr/classifiers_0/74523319eab76e9b2fdaaa6f013a4cbeafa04420.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/7f7891f0c1c5955b28ef1a288a8420a42b156178.png ADDED

Git LFS Details

  • SHA256: 9753e7991668d5a851a087fe6682edec19a1521c3ffe71706a96d1fe8af5377f
  • Pointer size: 131 Bytes
  • Size of remote file: 379 kB
dkfotgr/classifiers_0/7f7891f0c1c5955b28ef1a288a8420a42b156178.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/94b45e4f827ca8c3d7c062234f9d6512ef3a02cb.png ADDED

Git LFS Details

  • SHA256: 0e147a3046eb08fa6e8c7b5168bcc3ec71c54da7ea83dc2b2f7fdf03840bdbd5
  • Pointer size: 131 Bytes
  • Size of remote file: 393 kB
dkfotgr/classifiers_0/94b45e4f827ca8c3d7c062234f9d6512ef3a02cb.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/a2be71872da8f1103a430c4ec9183f807a4a6b9f.png ADDED

Git LFS Details

  • SHA256: 8fbc7d34e8342c7af4c7902173196c606a359e6b4002f165f200ac61a7f5126d
  • Pointer size: 131 Bytes
  • Size of remote file: 437 kB
dkfotgr/classifiers_0/a2be71872da8f1103a430c4ec9183f807a4a6b9f.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/c18ec95610e1415e7cc518c037b7af4d6a17351c.png ADDED

Git LFS Details

  • SHA256: cb4414d161b2927e524eed142be1f9c6a7a3da0fda03e91c2beb559e0fa0b367
  • Pointer size: 131 Bytes
  • Size of remote file: 356 kB
dkfotgr/classifiers_0/c18ec95610e1415e7cc518c037b7af4d6a17351c.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/c7bcc9cf5efd0f3cff92dc073019650db30b9f85.png ADDED

Git LFS Details

  • SHA256: 645d4ecb8ce94a946b26a90b91b7e907042803aa7a44e6f02e5b6a522a47eff8
  • Pointer size: 131 Bytes
  • Size of remote file: 345 kB
dkfotgr/classifiers_0/c7bcc9cf5efd0f3cff92dc073019650db30b9f85.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/c9a8264aff32d3156613c683fb133edb75a82b58.png ADDED

Git LFS Details

  • SHA256: af8d8b8398bb061425fc9160c85fd8ddfd48c10eff53851dd489f6b7a2622330
  • Pointer size: 131 Bytes
  • Size of remote file: 402 kB
dkfotgr/classifiers_0/c9a8264aff32d3156613c683fb133edb75a82b58.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/f157c780c42ce8cc9580168d440e18c25a908c9e.png ADDED

Git LFS Details

  • SHA256: 7e77ccfcebff7203be2158def7462cc92ca001d4551e75bba763039be7d383bb
  • Pointer size: 131 Bytes
  • Size of remote file: 427 kB
dkfotgr/classifiers_0/f157c780c42ce8cc9580168d440e18c25a908c9e.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/classifiers_0/f4a719a4ec67b6d38519e13bec1e741cd4639963.png ADDED

Git LFS Details

  • SHA256: 621e8e68ab0ae4e3592b8b7fb175f41a10b4dc4efb33e4c110f9afa507e8f462
  • Pointer size: 131 Bytes
  • Size of remote file: 362 kB
dkfotgr/classifiers_0/f4a719a4ec67b6d38519e13bec1e741cd4639963.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ photo of man
dkfotgr/db_config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "adamw_weight_decay": 0.01,
3
+ "attention": "xformers",
4
+ "cache_latents": true,
5
+ "clip_skip": 1,
6
+ "concepts_list": [
7
+ {
8
+ "class_data_dir": "",
9
+ "class_guidance_scale": 7.5,
10
+ "class_infer_steps": 40,
11
+ "class_negative_prompt": "",
12
+ "class_prompt": "photo of man",
13
+ "class_token": "",
14
+ "instance_data_dir": "I:\\_SD\\LORA\\_projects\\dkfotgr\\src\\100_dkfotgr",
15
+ "instance_prompt": "dkfotgr man",
16
+ "instance_token": "",
17
+ "is_valid": true,
18
+ "n_save_sample": 1,
19
+ "num_class_images_per": 4,
20
+ "sample_seed": -1,
21
+ "save_guidance_scale": 7.5,
22
+ "save_infer_steps": 20,
23
+ "save_sample_negative_prompt": "",
24
+ "save_sample_prompt": "photo of dkfotgr man",
25
+ "save_sample_template": ""
26
+ }
27
+ ],
28
+ "concepts_path": "",
29
+ "custom_model_name": "",
30
+ "deis_train_scheduler": false,
31
+ "deterministic": false,
32
+ "ema_predict": false,
33
+ "epoch": 0,
34
+ "epoch_pause_frequency": 0,
35
+ "epoch_pause_time": 0,
36
+ "freeze_clip_normalization": false,
37
+ "gradient_accumulation_steps": 1,
38
+ "gradient_checkpointing": true,
39
+ "gradient_set_to_none": true,
40
+ "graph_smoothing": 50,
41
+ "half_model": false,
42
+ "train_unfrozen": false,
43
+ "has_ema": false,
44
+ "hflip": false,
45
+ "infer_ema": false,
46
+ "initial_revision": 0,
47
+ "learning_rate": 2e-06,
48
+ "learning_rate_min": 1e-06,
49
+ "lifetime_revision": 0,
50
+ "lora_learning_rate": 0.0002,
51
+ "lora_model_name": null,
52
+ "lora_unet_rank": 4,
53
+ "lora_txt_rank": 4,
54
+ "lora_txt_learning_rate": 0.0002,
55
+ "lora_txt_weight": 1,
56
+ "lora_weight": 1,
57
+ "lr_cycles": 1,
58
+ "lr_factor": 0.5,
59
+ "lr_power": 1,
60
+ "lr_scale_pos": 0.5,
61
+ "lr_scheduler": "constant_with_warmup",
62
+ "lr_warmup_steps": 0,
63
+ "max_token_length": 75,
64
+ "mixed_precision": "fp16",
65
+ "model_name": "dkfotgr",
66
+ "model_dir": "I:\\_SD\\stable-diffusion-webui\\models\\dreambooth\\dkfotgr",
67
+ "model_path": "I:\\_SD\\stable-diffusion-webui\\models\\dreambooth\\dkfotgr",
68
+ "num_train_epochs": 150,
69
+ "offset_noise": 0,
70
+ "optimizer": "8Bit Adam",
71
+ "pad_tokens": true,
72
+ "pretrained_model_name_or_path": "I:\\_SD\\stable-diffusion-webui\\models\\dreambooth\\dkfotgr\\working",
73
+ "pretrained_vae_name_or_path": "",
74
+ "prior_loss_scale": false,
75
+ "prior_loss_target": 100.0,
76
+ "prior_loss_weight": 0.75,
77
+ "prior_loss_weight_min": 0.1,
78
+ "resolution": 512,
79
+ "revision": 0,
80
+ "sample_batch_size": 1,
81
+ "sanity_prompt": "",
82
+ "sanity_seed": 420420.0,
83
+ "save_ckpt_after": true,
84
+ "save_ckpt_cancel": false,
85
+ "save_ckpt_during": false,
86
+ "save_ema": true,
87
+ "save_embedding_every": 25,
88
+ "save_lora_after": true,
89
+ "save_lora_cancel": false,
90
+ "save_lora_during": false,
91
+ "save_preview_every": 5,
92
+ "save_safetensors": true,
93
+ "save_state_after": false,
94
+ "save_state_cancel": false,
95
+ "save_state_during": false,
96
+ "scheduler": "DEISMultistep",
97
+ "shuffle_tags": true,
98
+ "snapshot": [],
99
+ "split_loss": true,
100
+ "src": "E:\\-AI\\openjourney-v2.ckpt",
101
+ "stop_text_encoder": 1,
102
+ "strict_tokens": false,
103
+ "tf32_enable": false,
104
+ "train_batch_size": 1,
105
+ "train_imagic": false,
106
+ "train_unet": true,
107
+ "use_concepts": false,
108
+ "use_ema": false,
109
+ "use_lora": true,
110
+ "use_lora_extended": false,
111
+ "use_subdir": true,
112
+ "v2": false
113
+ }
dkfotgr/dkfotgr.yaml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ base_learning_rate: 1.0e-04
3
+ target: ldm.models.diffusion.ddpm.LatentDiffusion
4
+ params:
5
+ linear_start: 0.00085
6
+ linear_end: 0.0120
7
+ num_timesteps_cond: 1
8
+ log_every_t: 200
9
+ timesteps: 1000
10
+ first_stage_key: "images"
11
+ cond_stage_key: "input_ids"
12
+ image_size: 64
13
+ channels: 4
14
+ cond_stage_trainable: true # Note: different from the one we trained before
15
+ conditioning_key: crossattn
16
+ monitor: val/loss_simple_ema
17
+ scale_factor: 0.18215
18
+ use_ema: False
19
+
20
+ scheduler_config: # 10000 warmup steps
21
+ target: ldm.lr_scheduler.LambdaLinearScheduler
22
+ params:
23
+ warm_up_steps: [ 10000 ]
24
+ cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases
25
+ f_start: [ 1.e-6 ]
26
+ f_max: [ 1. ]
27
+ f_min: [ 1. ]
28
+
29
+ unet_config:
30
+ target: ldm.modules.diffusionmodules.openaimodel.UNetModel
31
+ params:
32
+ image_size: 32 # unused
33
+ in_channels: 4
34
+ out_channels: 4
35
+ model_channels: 320
36
+ attention_resolutions: [ 4, 2, 1 ]
37
+ num_res_blocks: 2
38
+ channel_mult: [ 1, 2, 4, 4 ]
39
+ num_heads: 8
40
+ use_spatial_transformer: True
41
+ transformer_depth: 1
42
+ context_dim: 768
43
+ use_checkpoint: True
44
+ legacy: False
45
+
46
+ first_stage_config:
47
+ target: ldm.models.autoencoder.AutoencoderKL
48
+ params:
49
+ embed_dim: 4
50
+ monitor: val/rec_loss
51
+ ddconfig:
52
+ double_z: true
53
+ z_channels: 4
54
+ resolution: 256
55
+ in_channels: 3
56
+ out_ch: 3
57
+ ch: 128
58
+ ch_mult:
59
+ - 1
60
+ - 2
61
+ - 4
62
+ - 4
63
+ num_res_blocks: 2
64
+ attn_resolutions: [ ]
65
+ dropout: 0.0
66
+ lossconfig:
67
+ target: torch.nn.Identity
68
+
69
+ cond_stage_config:
70
+ target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
dkfotgr/working/model_index.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.13.1",
4
+ "feature_extractor": [
5
+ null,
6
+ null
7
+ ],
8
+ "requires_safety_checker": null,
9
+ "safety_checker": [
10
+ null,
11
+ null
12
+ ],
13
+ "scheduler": [
14
+ "diffusers",
15
+ "DEISMultistepScheduler"
16
+ ],
17
+ "text_encoder": [
18
+ "transformers",
19
+ "CLIPTextModel"
20
+ ],
21
+ "tokenizer": [
22
+ "transformers",
23
+ "CLIPTokenizer"
24
+ ],
25
+ "unet": [
26
+ "diffusers",
27
+ "UNet2DConditionModel"
28
+ ],
29
+ "vae": [
30
+ "diffusers",
31
+ "AutoencoderKL"
32
+ ]
33
+ }
dkfotgr/working/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DEISMultistepScheduler",
3
+ "_diffusers_version": "0.13.1",
4
+ "algorithm_type": "deis",
5
+ "beta_end": 0.012,
6
+ "beta_schedule": "scaled_linear",
7
+ "beta_start": 0.00085,
8
+ "clip_sample": false,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "lower_order_final": true,
11
+ "num_train_timesteps": 1000,
12
+ "prediction_type": "epsilon",
13
+ "sample_max_value": 1.0,
14
+ "set_alpha_to_one": false,
15
+ "solver_order": 2,
16
+ "solver_type": "logrho",
17
+ "steps_offset": 1,
18
+ "thresholding": false,
19
+ "trained_betas": null
20
+ }
dkfotgr/working/text_encoder/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/clip-vit-large-patch14",
3
+ "architectures": [
4
+ "CLIPTextModel"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dropout": 0.0,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "quick_gelu",
11
+ "hidden_size": 768,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 77,
17
+ "model_type": "clip_text_model",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "projection_dim": 768,
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.26.1",
24
+ "vocab_size": 49408
25
+ }
dkfotgr/working/text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc9955f96e3a6ecb103259517c01b3c5e9718245fd3c77a7493f060369393a54
3
+ size 492265879
dkfotgr/working/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
dkfotgr/working/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
dkfotgr/working/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "do_lower_case": true,
12
+ "eos_token": {
13
+ "__type": "AddedToken",
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "errors": "replace",
21
+ "model_max_length": 77,
22
+ "name_or_path": "openai/clip-vit-large-patch14",
23
+ "pad_token": "<|endoftext|>",
24
+ "special_tokens_map_file": "./special_tokens_map.json",
25
+ "tokenizer_class": "CLIPTokenizer",
26
+ "unk_token": {
27
+ "__type": "AddedToken",
28
+ "content": "<|endoftext|>",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
dkfotgr/working/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
dkfotgr/working/unet/config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.13.1",
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
+ "class_embed_type": null,
14
+ "conv_in_kernel": 3,
15
+ "conv_out_kernel": 3,
16
+ "cross_attention_dim": 768,
17
+ "down_block_types": [
18
+ "CrossAttnDownBlock2D",
19
+ "CrossAttnDownBlock2D",
20
+ "CrossAttnDownBlock2D",
21
+ "DownBlock2D"
22
+ ],
23
+ "downsample_padding": 1,
24
+ "dual_cross_attention": false,
25
+ "flip_sin_to_cos": true,
26
+ "freq_shift": 0,
27
+ "in_channels": 4,
28
+ "layers_per_block": 2,
29
+ "mid_block_scale_factor": 1,
30
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
31
+ "norm_eps": 1e-05,
32
+ "norm_num_groups": 32,
33
+ "num_class_embeds": null,
34
+ "only_cross_attention": false,
35
+ "out_channels": 4,
36
+ "projection_class_embeddings_input_dim": null,
37
+ "resnet_time_scale_shift": "default",
38
+ "sample_size": 64,
39
+ "time_cond_proj_dim": null,
40
+ "time_embedding_type": "positional",
41
+ "timestep_post_act": null,
42
+ "up_block_types": [
43
+ "UpBlock2D",
44
+ "CrossAttnUpBlock2D",
45
+ "CrossAttnUpBlock2D",
46
+ "CrossAttnUpBlock2D"
47
+ ],
48
+ "upcast_attention": false,
49
+ "use_linear_projection": false
50
+ }
dkfotgr/working/unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:351b7a8a2a9905ee27eab1a16aaa886bcb7d4a3bacae875b773c470e719133a1
3
+ size 3438167503
dkfotgr/working/vae/config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.13.1",
4
+ "act_fn": "silu",
5
+ "block_out_channels": [
6
+ 128,
7
+ 256,
8
+ 512,
9
+ 512
10
+ ],
11
+ "down_block_types": [
12
+ "DownEncoderBlock2D",
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D"
16
+ ],
17
+ "in_channels": 3,
18
+ "latent_channels": 4,
19
+ "layers_per_block": 2,
20
+ "norm_num_groups": 32,
21
+ "out_channels": 3,
22
+ "sample_size": 512,
23
+ "scaling_factor": 0.18215,
24
+ "up_block_types": [
25
+ "UpDecoderBlock2D",
26
+ "UpDecoderBlock2D",
27
+ "UpDecoderBlock2D",
28
+ "UpDecoderBlock2D"
29
+ ]
30
+ }
dkfotgr/working/vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d0af75d1920dd51dfb48afd760d93f8771214de769a0aaf6db88c7961ccccaa
3
+ size 334643245