Jean-Loup Maillet commited on
Commit
807ed4f
•
1 Parent(s): 1491f9b

model card + model

Browse files
.gitattributes CHANGED
@@ -32,24 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.xz filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
36
- generated-images/ComfyUI_00071_.png filter=lfs diff=lfs merge=lfs -text
37
- generated-images/ComfyUI_00072_.png filter=lfs diff=lfs merge=lfs -text
38
- generated-images/ComfyUI_00073_.png filter=lfs diff=lfs merge=lfs -text
39
- generated-images/ComfyUI_00074_.png filter=lfs diff=lfs merge=lfs -text
40
- generated-images/ComfyUI_00076_.png filter=lfs diff=lfs merge=lfs -text
41
- generated-images/ComfyUI_00087_.png filter=lfs diff=lfs merge=lfs -text
42
- generated-images/ComfyUI_00088_.png filter=lfs diff=lfs merge=lfs -text
43
- generated-images/ComfyUI_00090_.png filter=lfs diff=lfs merge=lfs -text
44
- generated-images/ComfyUI_00091_.png filter=lfs diff=lfs merge=lfs -text
45
- generated-images/ComfyUI_00092_.png filter=lfs diff=lfs merge=lfs -text
46
- generated-images/ComfyUI_00095_.png filter=lfs diff=lfs merge=lfs -text
47
- generated-images/ComfyUI_00100_.png filter=lfs diff=lfs merge=lfs -text
48
- generated-images/ComfyUI_00102_.png filter=lfs diff=lfs merge=lfs -text
49
- generated-images/ComfyUI_00105_.png filter=lfs diff=lfs merge=lfs -text
50
- generated-images/ComfyUI_00108_.png filter=lfs diff=lfs merge=lfs -text
51
- generated-images/ComfyUI_00115_.png filter=lfs diff=lfs merge=lfs -text
52
- test1.jpeg filter=lfs diff=lfs merge=lfs -text
53
- test2.jpeg filter=lfs diff=lfs merge=lfs -text
54
- test3.jpeg filter=lfs diff=lfs merge=lfs -text
55
- test3.png filter=lfs diff=lfs merge=lfs -text
 
32
  *.xz filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *.png filter=lfs diff=lfs merge=lfs -text
36
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,3 +1,49 @@
1
  ---
2
  license: openrail
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: openrail
3
+ tags:
4
+ - art
5
+ - controlnet
6
+ - stable-diffusion
7
+ - stable-diffusion-xl
8
+ - image-to-image
9
  ---
10
+ # Controlnet - Inpainting dreamer
11
+
12
+ This ControlNet has been conditioned on **Inpainting** and **Outpainting**.
13
+
14
+ **It is an early alpha version made by experimenting in order to learn more about controlnet.**
15
+
16
+ **You want to support this kind of work and the development of this model ? Feel free to [buy me a coffee](https://www.buymeacoffee.com/destitech) !**
17
+
18
+ It is designed to work with [Stable Diffusion XL](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/stable_diffusion_xl). It should work with any model based on it.
19
+
20
+ **The image to inpaint or outpaint is to be used as input of the controlnet in a txt2img pipeline with denoising set to 1.0. The part to in/outpaint should be colors in solid white.**
21
+
22
+ Depending on the prompts, the rest of the image might be kept as is or modified more or less.
23
+
24
+ ## Model Details
25
+ - **Developed by:** [Destitech](https://destitech.com)
26
+ - **Model type:** Controlnet
27
+ - **License:** [The CreativeML OpenRAIL M license](https://huggingface.co/spaces/CompVis/stable-diffusion-license) is an [Open RAIL M license](https://www.licenses.ai/blog/2022/8/18/naming-convention-of-responsible-ai-licenses), adapted from the work that [BigScience](https://bigscience.huggingface.co/) and [the RAIL Initiative](https://www.licenses.ai/) are jointly carrying in the area of responsible AI licensing. See also [the article about the BLOOM Open RAIL license](https://bigscience.huggingface.co/blog/the-bigscience-rail-license) on which our license is based.
28
+
29
+ ## Released Checkpoints
30
+
31
+ [Model link](./models/cn-inpainting-dreamer-0.1-alpha.safetensors)
32
+
33
+
34
+ ## ComfyUI
35
+
36
+ [Workflow link](./workflows/workflow.json)
37
+
38
+ <a href="./workflows/workflow-preview.png"><img style="margin:0;padding:0;" src="./workflows/workflow-preview.png"/></a>
39
+ <br/>
40
+ <a href="./workflows/masked.png"><img width="256" style="margin:0;padding:0;" src="./workflows/masked.png"/></a>
41
+ <a href="./workflows/output_cyberpunk_manor.png"><img width="256" style="margin:0;padding:0;" src="./workflows/output_cyberpunk_manor.png"/></a>
42
+ <a href="./workflows/output_casual_woman.png"><img width="256" style="margin:0;padding:0;" src="./workflows/output_casual_woman.png"/></a>
43
+
44
+ ## More examples
45
+
46
+ <a href="./tests/test1.jpeg"><img width="768" style="margin:0;padding:0;" src="./tests/test1-thumb.jpeg"/></a>
47
+ <br/>
48
+ <a href="./tests/test2.jpeg"><img width="768" style="margin:0;padding:0;" src="./tests/test2-thumb.jpeg"/></a>
49
+
generated-images/ComfyUI_00111_.png DELETED
Binary file (963 kB)
 
models/cn-inpainting-dreamer-0.1-alpha.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0362d3318f4f42aa14b715603ea2be08618e466efa2409dce4193a366099436b
3
+ size 5004167864
test1-thumb.jpeg DELETED
Binary file (95 kB)
 
test2-thumb.jpeg DELETED
Binary file (246 kB)
 
test3-thumb.jpeg DELETED
Binary file (143 kB)
 
generated-images/ComfyUI_00108_.png → tests/test1-thumb.jpeg RENAMED
File without changes
test1.jpeg → tests/test1.jpeg RENAMED
File without changes
test3.jpeg → tests/test2-thumb.jpeg RENAMED
File without changes
test2.jpeg → tests/test2.jpeg RENAMED
File without changes
test3.png → workflows/masked.png RENAMED
File without changes
workflows/output_casual_woman.png ADDED

Git LFS Details

  • SHA256: 918da2fbe8fc96cfeb273aeff24e2e4b457cee74d0c4ef53c04f8f7e5fc2c510
  • Pointer size: 132 Bytes
  • Size of remote file: 1.49 MB
workflows/output_cyberpunk_manor.png ADDED

Git LFS Details

  • SHA256: 1b885403d1455938385634ad093995dd12aa81cb2ddfa2fa4170385172f58a26
  • Pointer size: 132 Bytes
  • Size of remote file: 1.4 MB
workflows/workflow-preview.png ADDED

Git LFS Details

  • SHA256: 51141f63417a4f9eba3f4c8080fac8af1937ba422b647e2b58ef617e0614924f
  • Pointer size: 131 Bytes
  • Size of remote file: 765 kB
workflows/workflow.json ADDED
@@ -0,0 +1,519 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 26,
3
+ "last_link_id": 45,
4
+ "nodes": [
5
+ {
6
+ "id": 16,
7
+ "type": "CheckpointLoaderSimple",
8
+ "pos": [
9
+ -64,
10
+ 512
11
+ ],
12
+ "size": {
13
+ "0": 315,
14
+ "1": 98
15
+ },
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "outputs": [
20
+ {
21
+ "name": "MODEL",
22
+ "type": "MODEL",
23
+ "links": [
24
+ 28
25
+ ],
26
+ "shape": 3,
27
+ "slot_index": 0
28
+ },
29
+ {
30
+ "name": "CLIP",
31
+ "type": "CLIP",
32
+ "links": [
33
+ 29,
34
+ 31
35
+ ],
36
+ "shape": 3,
37
+ "slot_index": 1
38
+ },
39
+ {
40
+ "name": "VAE",
41
+ "type": "VAE",
42
+ "links": [
43
+ 34
44
+ ],
45
+ "shape": 3
46
+ }
47
+ ],
48
+ "properties": {
49
+ "Node name for S&R": "CheckpointLoaderSimple"
50
+ },
51
+ "widgets_values": [
52
+ "juggernautXL_v7Rundiffusion.safetensors"
53
+ ]
54
+ },
55
+ {
56
+ "id": 19,
57
+ "type": "CLIPTextEncode",
58
+ "pos": [
59
+ 286,
60
+ 552
61
+ ],
62
+ "size": {
63
+ "0": 390,
64
+ "1": 130
65
+ },
66
+ "flags": {},
67
+ "order": 5,
68
+ "mode": 0,
69
+ "inputs": [
70
+ {
71
+ "name": "clip",
72
+ "type": "CLIP",
73
+ "link": 31
74
+ }
75
+ ],
76
+ "outputs": [
77
+ {
78
+ "name": "CONDITIONING",
79
+ "type": "CONDITIONING",
80
+ "links": [
81
+ 32
82
+ ],
83
+ "shape": 3,
84
+ "slot_index": 0
85
+ }
86
+ ],
87
+ "properties": {
88
+ "Node name for S&R": "CLIPTextEncode"
89
+ },
90
+ "widgets_values": [
91
+ "text, watermark"
92
+ ]
93
+ },
94
+ {
95
+ "id": 22,
96
+ "type": "EmptyLatentImage",
97
+ "pos": [
98
+ 324,
99
+ 727
100
+ ],
101
+ "size": {
102
+ "0": 310,
103
+ "1": 110
104
+ },
105
+ "flags": {},
106
+ "order": 1,
107
+ "mode": 0,
108
+ "outputs": [
109
+ {
110
+ "name": "LATENT",
111
+ "type": "LATENT",
112
+ "links": [
113
+ 37
114
+ ],
115
+ "shape": 3
116
+ }
117
+ ],
118
+ "properties": {
119
+ "Node name for S&R": "EmptyLatentImage"
120
+ },
121
+ "widgets_values": [
122
+ 768,
123
+ 1280,
124
+ 1
125
+ ]
126
+ },
127
+ {
128
+ "id": 24,
129
+ "type": "ControlNetApply",
130
+ "pos": [
131
+ 724,
132
+ 426
133
+ ],
134
+ "size": {
135
+ "0": 317.4000244140625,
136
+ "1": 98
137
+ },
138
+ "flags": {},
139
+ "order": 6,
140
+ "mode": 0,
141
+ "inputs": [
142
+ {
143
+ "name": "conditioning",
144
+ "type": "CONDITIONING",
145
+ "link": 42,
146
+ "slot_index": 0
147
+ },
148
+ {
149
+ "name": "control_net",
150
+ "type": "CONTROL_NET",
151
+ "link": 41
152
+ },
153
+ {
154
+ "name": "image",
155
+ "type": "IMAGE",
156
+ "link": 44
157
+ }
158
+ ],
159
+ "outputs": [
160
+ {
161
+ "name": "CONDITIONING",
162
+ "type": "CONDITIONING",
163
+ "links": [
164
+ 43
165
+ ],
166
+ "shape": 3,
167
+ "slot_index": 0
168
+ }
169
+ ],
170
+ "properties": {
171
+ "Node name for S&R": "ControlNetApply"
172
+ },
173
+ "widgets_values": [
174
+ 1
175
+ ]
176
+ },
177
+ {
178
+ "id": 17,
179
+ "type": "KSampler",
180
+ "pos": [
181
+ 1071,
182
+ 414
183
+ ],
184
+ "size": {
185
+ "0": 315,
186
+ "1": 262
187
+ },
188
+ "flags": {},
189
+ "order": 7,
190
+ "mode": 0,
191
+ "inputs": [
192
+ {
193
+ "name": "model",
194
+ "type": "MODEL",
195
+ "link": 28
196
+ },
197
+ {
198
+ "name": "positive",
199
+ "type": "CONDITIONING",
200
+ "link": 43
201
+ },
202
+ {
203
+ "name": "negative",
204
+ "type": "CONDITIONING",
205
+ "link": 32
206
+ },
207
+ {
208
+ "name": "latent_image",
209
+ "type": "LATENT",
210
+ "link": 37,
211
+ "slot_index": 3
212
+ }
213
+ ],
214
+ "outputs": [
215
+ {
216
+ "name": "LATENT",
217
+ "type": "LATENT",
218
+ "links": [
219
+ 33
220
+ ],
221
+ "shape": 3,
222
+ "slot_index": 0
223
+ }
224
+ ],
225
+ "properties": {
226
+ "Node name for S&R": "KSampler"
227
+ },
228
+ "widgets_values": [
229
+ 562495968439542,
230
+ "randomize",
231
+ 15,
232
+ 8,
233
+ "uni_pc_bh2",
234
+ "normal",
235
+ 1
236
+ ]
237
+ },
238
+ {
239
+ "id": 25,
240
+ "type": "LoadImage",
241
+ "pos": [
242
+ 729,
243
+ 728
244
+ ],
245
+ "size": {
246
+ "0": 351.9067687988281,
247
+ "1": 389.8154602050781
248
+ },
249
+ "flags": {},
250
+ "order": 2,
251
+ "mode": 0,
252
+ "outputs": [
253
+ {
254
+ "name": "IMAGE",
255
+ "type": "IMAGE",
256
+ "links": [
257
+ 44
258
+ ],
259
+ "shape": 3,
260
+ "slot_index": 0
261
+ },
262
+ {
263
+ "name": "MASK",
264
+ "type": "MASK",
265
+ "links": null,
266
+ "shape": 3
267
+ }
268
+ ],
269
+ "properties": {
270
+ "Node name for S&R": "LoadImage"
271
+ },
272
+ "widgets_values": [
273
+ "masked.png",
274
+ "image"
275
+ ]
276
+ },
277
+ {
278
+ "id": 23,
279
+ "type": "ControlNetLoader",
280
+ "pos": [
281
+ 336,
282
+ 881
283
+ ],
284
+ "size": {
285
+ "0": 315,
286
+ "1": 58
287
+ },
288
+ "flags": {},
289
+ "order": 3,
290
+ "mode": 0,
291
+ "outputs": [
292
+ {
293
+ "name": "CONTROL_NET",
294
+ "type": "CONTROL_NET",
295
+ "links": [
296
+ 41
297
+ ],
298
+ "shape": 3,
299
+ "slot_index": 0
300
+ }
301
+ ],
302
+ "properties": {
303
+ "Node name for S&R": "ControlNetLoader"
304
+ },
305
+ "widgets_values": [
306
+ "cn-inpainting-dreamer-0.1-alpha.safetensors"
307
+ ]
308
+ },
309
+ {
310
+ "id": 18,
311
+ "type": "CLIPTextEncode",
312
+ "pos": [
313
+ 286,
314
+ 385
315
+ ],
316
+ "size": {
317
+ "0": 390,
318
+ "1": 130
319
+ },
320
+ "flags": {},
321
+ "order": 4,
322
+ "mode": 0,
323
+ "inputs": [
324
+ {
325
+ "name": "clip",
326
+ "type": "CLIP",
327
+ "link": 29
328
+ }
329
+ ],
330
+ "outputs": [
331
+ {
332
+ "name": "CONDITIONING",
333
+ "type": "CONDITIONING",
334
+ "links": [
335
+ 42
336
+ ],
337
+ "shape": 3,
338
+ "slot_index": 0
339
+ }
340
+ ],
341
+ "properties": {
342
+ "Node name for S&R": "CLIPTextEncode"
343
+ },
344
+ "widgets_values": [
345
+ "a cyberpunk manor"
346
+ ]
347
+ },
348
+ {
349
+ "id": 20,
350
+ "type": "VAEDecode",
351
+ "pos": [
352
+ 1412,
353
+ 412
354
+ ],
355
+ "size": {
356
+ "0": 210,
357
+ "1": 46
358
+ },
359
+ "flags": {},
360
+ "order": 8,
361
+ "mode": 0,
362
+ "inputs": [
363
+ {
364
+ "name": "samples",
365
+ "type": "LATENT",
366
+ "link": 33
367
+ },
368
+ {
369
+ "name": "vae",
370
+ "type": "VAE",
371
+ "link": 34,
372
+ "slot_index": 1
373
+ }
374
+ ],
375
+ "outputs": [
376
+ {
377
+ "name": "IMAGE",
378
+ "type": "IMAGE",
379
+ "links": [
380
+ 45
381
+ ],
382
+ "shape": 3,
383
+ "slot_index": 0
384
+ }
385
+ ],
386
+ "properties": {
387
+ "Node name for S&R": "VAEDecode"
388
+ }
389
+ },
390
+ {
391
+ "id": 26,
392
+ "type": "SaveImage",
393
+ "pos": [
394
+ 1106,
395
+ 729
396
+ ],
397
+ "size": [
398
+ 367,
399
+ 387
400
+ ],
401
+ "flags": {},
402
+ "order": 9,
403
+ "mode": 0,
404
+ "inputs": [
405
+ {
406
+ "name": "images",
407
+ "type": "IMAGE",
408
+ "link": 45
409
+ }
410
+ ],
411
+ "properties": {},
412
+ "widgets_values": [
413
+ "ComfyUI"
414
+ ]
415
+ }
416
+ ],
417
+ "links": [
418
+ [
419
+ 28,
420
+ 16,
421
+ 0,
422
+ 17,
423
+ 0,
424
+ "MODEL"
425
+ ],
426
+ [
427
+ 29,
428
+ 16,
429
+ 1,
430
+ 18,
431
+ 0,
432
+ "CLIP"
433
+ ],
434
+ [
435
+ 31,
436
+ 16,
437
+ 1,
438
+ 19,
439
+ 0,
440
+ "CLIP"
441
+ ],
442
+ [
443
+ 32,
444
+ 19,
445
+ 0,
446
+ 17,
447
+ 2,
448
+ "CONDITIONING"
449
+ ],
450
+ [
451
+ 33,
452
+ 17,
453
+ 0,
454
+ 20,
455
+ 0,
456
+ "LATENT"
457
+ ],
458
+ [
459
+ 34,
460
+ 16,
461
+ 2,
462
+ 20,
463
+ 1,
464
+ "VAE"
465
+ ],
466
+ [
467
+ 37,
468
+ 22,
469
+ 0,
470
+ 17,
471
+ 3,
472
+ "LATENT"
473
+ ],
474
+ [
475
+ 41,
476
+ 23,
477
+ 0,
478
+ 24,
479
+ 1,
480
+ "CONTROL_NET"
481
+ ],
482
+ [
483
+ 42,
484
+ 18,
485
+ 0,
486
+ 24,
487
+ 0,
488
+ "CONDITIONING"
489
+ ],
490
+ [
491
+ 43,
492
+ 24,
493
+ 0,
494
+ 17,
495
+ 1,
496
+ "CONDITIONING"
497
+ ],
498
+ [
499
+ 44,
500
+ 25,
501
+ 0,
502
+ 24,
503
+ 2,
504
+ "IMAGE"
505
+ ],
506
+ [
507
+ 45,
508
+ 20,
509
+ 0,
510
+ 26,
511
+ 0,
512
+ "IMAGE"
513
+ ]
514
+ ],
515
+ "groups": [],
516
+ "config": {},
517
+ "extra": {},
518
+ "version": 0.4
519
+ }