davidfant commited on
Commit
f497383
·
1 Parent(s): a919aea

stable-diffusion-inpainting, 7 similar concepts with very specific prompt (8400 steps)

Browse files
Files changed (34) hide show
  1. args.json +100 -22
  2. samples/woman-wearing-a-blue-sks-bikini-with-qsd-pattern/0.png +0 -0
  3. samples/woman-wearing-a-blue-sks-bikini-with-qsd-pattern/1.png +0 -0
  4. samples/woman-wearing-a-blue-sks-bikini-with-qsd-pattern/2.png +0 -0
  5. samples/woman-wearing-a-blue-sks-bikini-with-qsd-pattern/3.png +0 -0
  6. samples/woman-wearing-a-green-sks-bikini-with-xds-pattern/0.png +0 -0
  7. samples/woman-wearing-a-green-sks-bikini-with-xds-pattern/1.png +0 -0
  8. samples/woman-wearing-a-green-sks-bikini-with-xds-pattern/2.png +0 -0
  9. samples/woman-wearing-a-green-sks-bikini-with-xds-pattern/3.png +0 -0
  10. samples/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern/0.png +0 -0
  11. samples/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern/1.png +0 -0
  12. samples/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern/2.png +0 -0
  13. samples/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern/3.png +0 -0
  14. samples/woman-wearing-a-lilac-sks-bikini-with-xds-pattern/0.png +0 -0
  15. samples/woman-wearing-a-lilac-sks-bikini-with-xds-pattern/1.png +0 -0
  16. samples/woman-wearing-a-lilac-sks-bikini-with-xds-pattern/2.png +0 -0
  17. samples/woman-wearing-a-lilac-sks-bikini-with-xds-pattern/3.png +0 -0
  18. samples/woman-wearing-a-pink-sks-bikini/0.png +0 -0
  19. samples/woman-wearing-a-pink-sks-bikini/1.png +0 -0
  20. samples/woman-wearing-a-pink-sks-bikini/2.png +0 -0
  21. samples/woman-wearing-a-pink-sks-bikini/3.png +0 -0
  22. samples/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern/0.png +0 -0
  23. samples/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern/1.png +0 -0
  24. samples/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern/2.png +0 -0
  25. samples/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern/3.png +0 -0
  26. samples/woman-wearing-a-yellow-sks-bikini/0.png +0 -0
  27. samples/woman-wearing-a-yellow-sks-bikini/1.png +0 -0
  28. samples/woman-wearing-a-yellow-sks-bikini/2.png +0 -0
  29. samples/woman-wearing-a-yellow-sks-bikini/3.png +0 -0
  30. text_encoder/config.json +1 -1
  31. text_encoder/pytorch_model.bin +1 -1
  32. tokenizer/tokenizer_config.json +1 -1
  33. unet/config.json +1 -1
  34. unet/diffusion_pytorch_model.bin +1 -1
args.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "pretrained_model_name_or_path": "runwayml/stable-diffusion-inpainting",
3
  "pretrained_vae_name_or_path": "stabilityai/sd-vae-ft-mse",
4
  "revision": "fp16",
5
  "tokenizer_name": null,
@@ -7,7 +7,7 @@
7
  "class_data_dir": null,
8
  "instance_prompt": null,
9
  "class_prompt": null,
10
- "save_sample_prompt": "woman wearing a sks bikini with tzx pattern",
11
  "save_sample_negative_prompt": null,
12
  "n_save_sample": 4,
13
  "save_guidance_scale": 7.5,
@@ -15,16 +15,16 @@
15
  "pad_tokens": true,
16
  "with_prior_preservation": true,
17
  "prior_loss_weight": 1.0,
18
- "num_class_images": 100,
19
- "output_dir": "/home/fant/repos/shiv-diffusers/output/model",
20
  "seed": 3434554,
21
  "resolution": 512,
22
  "center_crop": false,
23
  "train_text_encoder": true,
24
  "train_batch_size": 1,
25
  "sample_batch_size": 4,
26
- "num_train_epochs": 24,
27
- "max_train_steps": 2400,
28
  "gradient_accumulation_steps": 1,
29
  "gradient_checkpointing": false,
30
  "learning_rate": 1e-06,
@@ -42,32 +42,110 @@
42
  "hub_model_id": null,
43
  "logging_dir": "logs",
44
  "log_interval": 10,
45
- "save_interval": 800,
46
  "save_min_steps": 0,
47
  "mixed_precision": "fp16",
48
  "not_cache_latents": true,
49
  "local_rank": -1,
50
  "concepts_list": [
51
  {
52
- "url": "https://www.brightswimwear.com/collections/all-swim/products/maria-top-ocean-dream",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  "class_prompt": "woman wearing a bikini",
54
  "class_data_dir": "./data/class/woman-wearing-a-bikini",
55
- "instance_type": "maria",
56
- "instance_pattern": "ocean-dream",
57
- "instance_data_dir": "./data/instance/woman-wearing-a-maria-bikini-ocean-dream-with-ocean-dream-pattern",
 
 
58
  "image_urls": [
59
- "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC1459.jpg?v=1666598111",
60
- "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC1477.jpg?v=1666598111",
61
- "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC0916.jpg?v=1666598111",
62
- "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC0928.jpg?v=1666598111",
63
- "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC0940.jpg?v=1666598111",
64
- "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-184.jpg?v=1666598111",
65
- "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-191.jpg?v=1666598111",
66
- "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-190.jpg?v=1666598111",
67
- "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-192.jpg?v=1666598111",
68
- "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC0921.jpg?v=1666598111"
69
  ],
70
- "instance_prompt": "woman wearing a sks bikini with pxc pattern"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  }
72
  ]
73
  }
 
1
  {
2
+ "pretrained_model_name_or_path": "/home/fant/repos/shiv-diffusers/output/model/5600",
3
  "pretrained_vae_name_or_path": "stabilityai/sd-vae-ft-mse",
4
  "revision": "fp16",
5
  "tokenizer_name": null,
 
7
  "class_data_dir": null,
8
  "instance_prompt": null,
9
  "class_prompt": null,
10
+ "save_sample_prompt": "woman wearing a blue sks bikini with qsd pattern|woman wearing a white sks bikini with blue, yellow, pink floral pattern|woman wearing a pink sks bikini|woman wearing a light blue sks bikini with khj pattern|woman wearing a green sks bikini with xds pattern|woman wearing a lilac sks bikini with xds pattern|woman wearing a yellow sks bikini",
11
  "save_sample_negative_prompt": null,
12
  "n_save_sample": 4,
13
  "save_guidance_scale": 7.5,
 
15
  "pad_tokens": true,
16
  "with_prior_preservation": true,
17
  "prior_loss_weight": 1.0,
18
+ "num_class_images": 300,
19
+ "output_dir": "/home/fant/repos/shiv-diffusers/output/model-from-5600",
20
  "seed": 3434554,
21
  "resolution": 512,
22
  "center_crop": false,
23
  "train_text_encoder": true,
24
  "train_batch_size": 1,
25
  "sample_batch_size": 4,
26
+ "num_train_epochs": 7,
27
+ "max_train_steps": 14000,
28
  "gradient_accumulation_steps": 1,
29
  "gradient_checkpointing": false,
30
  "learning_rate": 1e-06,
 
42
  "hub_model_id": null,
43
  "logging_dir": "logs",
44
  "log_interval": 10,
45
+ "save_interval": 2800,
46
  "save_min_steps": 0,
47
  "mixed_precision": "fp16",
48
  "not_cache_latents": true,
49
  "local_rank": -1,
50
  "concepts_list": [
51
  {
52
+ "url": "https://www.brightswimwear.com/products/bali-top-ocean-dream",
53
+ "instance_prompt": "woman wearing a blue sks bikini with qsd pattern",
54
+ "image_urls": [
55
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC1658.jpg?v=1666613045",
56
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC1664.jpg?v=1666613045",
57
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC1671.jpg?v=1666613045",
58
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/DSC1680.jpg?v=1666613045",
59
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-296.jpg?v=1666613045",
60
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-297.jpg?v=1666613045",
61
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-299.jpg?v=1666613045",
62
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-289.jpg?v=1666613045",
63
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/StudioSession-298.jpg?v=1666613042"
64
+ ],
65
+ "class_prompt": "woman wearing a bikini",
66
+ "class_data_dir": "./data/class/woman-wearing-a-bikini",
67
+ "instance_data_dir": "./data/instance/woman-wearing-a-blue-sks-bikini-with-qsd-pattern"
68
+ },
69
+ {
70
+ "url": "https://www.brightswimwear.com/collections/all-swim/products/bali-top-night-floral",
71
+ "instance_prompt": "woman wearing a white sks bikini with blue, yellow, pink floral pattern",
72
+ "image_urls": [
73
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/E-COMMERCEIMAGES-x3_1400x2100px_8.png?v=1654029514",
74
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/Bright_studio-153.jpg?v=1654029514",
75
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/Bright_studio-147.jpg?v=1654029514",
76
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/Bright_studio-165.jpg?v=1654029514",
77
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/E-COMMERCEIMAGES-x3_1400x2100px_10.png?v=1654029678"
78
+ ],
79
+ "class_prompt": "woman wearing a bikini",
80
+ "class_data_dir": "./data/class/woman-wearing-a-bikini",
81
+ "instance_data_dir": "./data/instance/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern"
82
+ },
83
+ {
84
+ "url": "https://www.brightswimwear.com/collections/all-swim/products/bali-top-bubble-gum",
85
+ "instance_prompt": "woman wearing a pink sks bikini",
86
+ "image_urls": [
87
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/BrightSwimwear_by_filipe_neto-AE4A2319_286eaa02-b683-4161-aa75-e3e63ee6e511.jpg?v=1607096489",
88
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/BrightSwimwear_by_filipe_neto-AE4A2269_8afba1bf-98a0-434b-9752-53fc947b10aa.jpg?v=1607096489",
89
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/BrightSwimwear_by_filipe_neto-AE4A2111.jpg?v=1607096489",
90
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/BrightSwimwear_by_filipe_neto-AE4A2337_19a3a66f-82b6-4433-8071-927a45457ce3.jpg?v=1607034576"
91
+ ],
92
+ "class_prompt": "woman wearing a bikini",
93
+ "class_data_dir": "./data/class/woman-wearing-a-bikini",
94
+ "instance_data_dir": "./data/instance/woman-wearing-a-pink-sks-bikini"
95
+ },
96
+ {
97
+ "url": "https://www.brightswimwear.com/collections/all-swim/products/bali-top-arizona-floral",
98
+ "instance_prompt": "woman wearing a light blue sks bikini with khj pattern",
99
+ "image_urls": [
100
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/BaliSet.png?v=1618091777",
101
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/BaliSe_2.png?v=1618091777",
102
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/BaliSet_2.png?v=1618091777",
103
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/BaliSe.png?v=1618091677",
104
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/E-commerceProductImages_3.png?v=1624374733"
105
+ ],
106
+ "class_prompt": "woman wearing a bikini",
107
+ "class_data_dir": "./data/class/woman-wearing-a-bikini",
108
+ "instance_data_dir": "./data/instance/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern"
109
+ },
110
+ {
111
+ "url": "https://www.brightswimwear.com/collections/all-swim/products/bali-top-ribbed-green",
112
+ "instance_prompt": "woman wearing a green sks bikini with xds pattern",
113
+ "image_urls": [
114
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/1_1d27b347-a8dc-44d5-a59d-9dda9a990600.png?v=1643746695",
115
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/2_7713d452-5cf2-4c68-96bc-b11652a64383.png?v=1643746696",
116
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/3_b8aac50d-5396-491a-ad21-65dd62b1e73d.png?v=1643746696",
117
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/4_0f5e7559-5749-4f63-a699-51a37ea4bae1.png?v=1643746696"
118
+ ],
119
  "class_prompt": "woman wearing a bikini",
120
  "class_data_dir": "./data/class/woman-wearing-a-bikini",
121
+ "instance_data_dir": "./data/instance/woman-wearing-a-green-sks-bikini-with-xds-pattern"
122
+ },
123
+ {
124
+ "url": "https://www.brightswimwear.com/collections/all-swim/products/bali-top-ribbed-purple",
125
+ "instance_prompt": "woman wearing a lilac sks bikini with xds pattern",
126
  "image_urls": [
127
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/1.jpg?v=1604393110",
128
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/2.jpg?v=1604393106",
129
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/3_022429f6-db43-4164-a77e-49e96d950d4a.jpg?v=1604393104",
130
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/7_1d954595-d94a-4e47-be7e-eb29eb8ccab7.jpg?v=1604393101"
 
 
 
 
 
 
131
  ],
132
+ "class_prompt": "woman wearing a bikini",
133
+ "class_data_dir": "./data/class/woman-wearing-a-bikini",
134
+ "instance_data_dir": "./data/instance/woman-wearing-a-lilac-sks-bikini-with-xds-pattern"
135
+ },
136
+ {
137
+ "url": "https://www.brightswimwear.com/collections/all-swim/products/bali-top-lemon",
138
+ "instance_prompt": "woman wearing a yellow sks bikini",
139
+ "image_urls": [
140
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/1_54901a67-2c4f-4320-ac23-7fd836b376e5.png?v=1644851630",
141
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/2_1d59f437-1dea-49a6-a7e8-16b54eb8a11f.png?v=1644851629",
142
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/3_c3cebdf5-da9b-487e-b23c-c78f603d7c0a.png?v=1644851630",
143
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/4_8a8c5b4a-c653-4251-9af0-9f8323107408.png?v=1644851629",
144
+ "https://cdn.shopify.com/s/files/1/2148/0245/products/5_fd85a395-72f3-41d0-b790-4b0bc5a8603a.png?v=1644851630"
145
+ ],
146
+ "class_prompt": "woman wearing a bikini",
147
+ "class_data_dir": "./data/class/woman-wearing-a-bikini",
148
+ "instance_data_dir": "./data/instance/woman-wearing-a-yellow-sks-bikini"
149
  }
150
  ]
151
  }
samples/woman-wearing-a-blue-sks-bikini-with-qsd-pattern/0.png ADDED
samples/woman-wearing-a-blue-sks-bikini-with-qsd-pattern/1.png ADDED
samples/woman-wearing-a-blue-sks-bikini-with-qsd-pattern/2.png ADDED
samples/woman-wearing-a-blue-sks-bikini-with-qsd-pattern/3.png ADDED
samples/woman-wearing-a-green-sks-bikini-with-xds-pattern/0.png ADDED
samples/woman-wearing-a-green-sks-bikini-with-xds-pattern/1.png ADDED
samples/woman-wearing-a-green-sks-bikini-with-xds-pattern/2.png ADDED
samples/woman-wearing-a-green-sks-bikini-with-xds-pattern/3.png ADDED
samples/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern/0.png ADDED
samples/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern/1.png ADDED
samples/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern/2.png ADDED
samples/woman-wearing-a-light-blue-sks-bikini-with-khj-pattern/3.png ADDED
samples/woman-wearing-a-lilac-sks-bikini-with-xds-pattern/0.png ADDED
samples/woman-wearing-a-lilac-sks-bikini-with-xds-pattern/1.png ADDED
samples/woman-wearing-a-lilac-sks-bikini-with-xds-pattern/2.png ADDED
samples/woman-wearing-a-lilac-sks-bikini-with-xds-pattern/3.png ADDED
samples/woman-wearing-a-pink-sks-bikini/0.png ADDED
samples/woman-wearing-a-pink-sks-bikini/1.png ADDED
samples/woman-wearing-a-pink-sks-bikini/2.png ADDED
samples/woman-wearing-a-pink-sks-bikini/3.png ADDED
samples/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern/0.png ADDED
samples/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern/1.png ADDED
samples/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern/2.png ADDED
samples/woman-wearing-a-white-sks-bikini-with-blue,-yellow,-pink-floral-pattern/3.png ADDED
samples/woman-wearing-a-yellow-sks-bikini/0.png ADDED
samples/woman-wearing-a-yellow-sks-bikini/1.png ADDED
samples/woman-wearing-a-yellow-sks-bikini/2.png ADDED
samples/woman-wearing-a-yellow-sks-bikini/3.png ADDED
text_encoder/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "runwayml/stable-diffusion-inpainting",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
1
  {
2
+ "_name_or_path": "/home/fant/repos/shiv-diffusers/output/model/5600",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
text_encoder/pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8831c9324ddfd77c7fe95d54a2bf64e85902e924fdfa3de0ddd658e7d62cf757
3
  size 492308087
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1510be4efca00b9cbac624589118e1053b60d2f405ea7114394b3132b85274bd
3
  size 492308087
tokenizer/tokenizer_config.json CHANGED
@@ -19,7 +19,7 @@
19
  },
20
  "errors": "replace",
21
  "model_max_length": 77,
22
- "name_or_path": "/home/fant/.cache/huggingface/diffusers/models--runwayml--stable-diffusion-inpainting/snapshots/1855202d3acfad9fd7e30e39d06b771d4b859a18/tokenizer",
23
  "pad_token": "<|endoftext|>",
24
  "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
 
19
  },
20
  "errors": "replace",
21
  "model_max_length": 77,
22
+ "name_or_path": "/home/fant/repos/shiv-diffusers/output/model/5600/tokenizer",
23
  "pad_token": "<|endoftext|>",
24
  "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
unet/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.7.0.dev0",
4
- "_name_or_path": "runwayml/stable-diffusion-inpainting",
5
  "act_fn": "silu",
6
  "attention_head_dim": 8,
7
  "block_out_channels": [
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.7.0.dev0",
4
+ "_name_or_path": "/home/fant/repos/shiv-diffusers/output/model/5600",
5
  "act_fn": "silu",
6
  "attention_head_dim": 8,
7
  "block_out_channels": [
unet/diffusion_pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e808e01487ba900feb3db6087bbc0e6a0100589082f0fe71e9b84a0b9db795c
3
  size 3438421925
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd42e6f5c9938e82168acfb29d99c939d5880aa5dbe90357d254405f423121c8
3
  size 3438421925