kythours commited on
Commit
ee8f2e2
·
verified ·
1 Parent(s): e492d90

Upload configs/custom_nodes/ComfyUI-Impact-Pack/test/masks.json with huggingface_hub

Browse files
configs/custom_nodes/ComfyUI-Impact-Pack/test/masks.json ADDED
@@ -0,0 +1,622 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 38,
3
+ "last_link_id": 52,
4
+ "nodes": [
5
+ {
6
+ "id": 21,
7
+ "type": "SEGSToImageList",
8
+ "pos": [
9
+ 2160,
10
+ 970
11
+ ],
12
+ "size": {
13
+ "0": 304.79998779296875,
14
+ "1": 46
15
+ },
16
+ "flags": {},
17
+ "order": 10,
18
+ "mode": 0,
19
+ "inputs": [
20
+ {
21
+ "name": "segs",
22
+ "type": "SEGS",
23
+ "link": 41
24
+ },
25
+ {
26
+ "name": "fallback_image_opt",
27
+ "type": "IMAGE",
28
+ "link": 26,
29
+ "slot_index": 1
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "name": "IMAGE",
35
+ "type": "IMAGE",
36
+ "links": [
37
+ 27
38
+ ],
39
+ "shape": 6,
40
+ "slot_index": 0
41
+ }
42
+ ],
43
+ "properties": {
44
+ "Node name for S&R": "SEGSToImageList"
45
+ }
46
+ },
47
+ {
48
+ "id": 5,
49
+ "type": "MaskToSEGS",
50
+ "pos": [
51
+ 1520,
52
+ 980
53
+ ],
54
+ "size": {
55
+ "0": 210,
56
+ "1": 130
57
+ },
58
+ "flags": {},
59
+ "order": 4,
60
+ "mode": 0,
61
+ "inputs": [
62
+ {
63
+ "name": "mask",
64
+ "type": "MASK",
65
+ "link": 5
66
+ }
67
+ ],
68
+ "outputs": [
69
+ {
70
+ "name": "SEGS",
71
+ "type": "SEGS",
72
+ "links": [
73
+ 35,
74
+ 46
75
+ ],
76
+ "shape": 3,
77
+ "slot_index": 0
78
+ }
79
+ ],
80
+ "properties": {
81
+ "Node name for S&R": "MaskToSEGS"
82
+ },
83
+ "widgets_values": [
84
+ "False",
85
+ 3,
86
+ "disabled",
87
+ 10
88
+ ]
89
+ },
90
+ {
91
+ "id": 36,
92
+ "type": "MasksToMaskList",
93
+ "pos": [
94
+ 2270,
95
+ 680
96
+ ],
97
+ "size": {
98
+ "0": 158.000244140625,
99
+ "1": 26
100
+ },
101
+ "flags": {},
102
+ "order": 8,
103
+ "mode": 0,
104
+ "inputs": [
105
+ {
106
+ "name": "masks",
107
+ "type": "MASKS",
108
+ "link": 51
109
+ }
110
+ ],
111
+ "outputs": [
112
+ {
113
+ "name": "MASK",
114
+ "type": "MASK",
115
+ "links": [
116
+ 52
117
+ ],
118
+ "shape": 6,
119
+ "slot_index": 0
120
+ }
121
+ ],
122
+ "properties": {
123
+ "Node name for S&R": "MasksToMaskList"
124
+ },
125
+ "color": "#223",
126
+ "bgcolor": "#335"
127
+ },
128
+ {
129
+ "id": 35,
130
+ "type": "MaskToImage",
131
+ "pos": [
132
+ 2480,
133
+ 680
134
+ ],
135
+ "size": {
136
+ "0": 176.39999389648438,
137
+ "1": 38.59991455078125
138
+ },
139
+ "flags": {},
140
+ "order": 11,
141
+ "mode": 0,
142
+ "inputs": [
143
+ {
144
+ "name": "mask",
145
+ "type": "MASK",
146
+ "link": 52
147
+ }
148
+ ],
149
+ "outputs": [
150
+ {
151
+ "name": "IMAGE",
152
+ "type": "IMAGE",
153
+ "links": [
154
+ 50
155
+ ],
156
+ "shape": 3,
157
+ "slot_index": 0
158
+ }
159
+ ],
160
+ "properties": {
161
+ "Node name for S&R": "MaskToImage"
162
+ }
163
+ },
164
+ {
165
+ "id": 28,
166
+ "type": "Segs & Mask ForEach",
167
+ "pos": [
168
+ 1800,
169
+ 980
170
+ ],
171
+ "size": {
172
+ "0": 243.60000610351562,
173
+ "1": 46
174
+ },
175
+ "flags": {},
176
+ "order": 7,
177
+ "mode": 0,
178
+ "inputs": [
179
+ {
180
+ "name": "segs",
181
+ "type": "SEGS",
182
+ "link": 35,
183
+ "slot_index": 0
184
+ },
185
+ {
186
+ "name": "masks",
187
+ "type": "MASKS",
188
+ "link": 43
189
+ }
190
+ ],
191
+ "outputs": [
192
+ {
193
+ "name": "SEGS",
194
+ "type": "SEGS",
195
+ "links": [
196
+ 41
197
+ ],
198
+ "shape": 3,
199
+ "slot_index": 0
200
+ }
201
+ ],
202
+ "properties": {
203
+ "Node name for S&R": "Segs & Mask ForEach"
204
+ }
205
+ },
206
+ {
207
+ "id": 22,
208
+ "type": "PreviewImage",
209
+ "pos": [
210
+ 2510,
211
+ 970
212
+ ],
213
+ "size": {
214
+ "0": 210,
215
+ "1": 246
216
+ },
217
+ "flags": {},
218
+ "order": 12,
219
+ "mode": 0,
220
+ "inputs": [
221
+ {
222
+ "name": "images",
223
+ "type": "IMAGE",
224
+ "link": 27
225
+ }
226
+ ],
227
+ "properties": {
228
+ "Node name for S&R": "PreviewImage"
229
+ }
230
+ },
231
+ {
232
+ "id": 4,
233
+ "type": "LoadImage",
234
+ "pos": [
235
+ 1150,
236
+ 460
237
+ ],
238
+ "size": {
239
+ "0": 315,
240
+ "1": 314
241
+ },
242
+ "flags": {},
243
+ "order": 0,
244
+ "mode": 0,
245
+ "outputs": [
246
+ {
247
+ "name": "IMAGE",
248
+ "type": "IMAGE",
249
+ "links": [
250
+ 26,
251
+ 47
252
+ ],
253
+ "shape": 3,
254
+ "slot_index": 0
255
+ },
256
+ {
257
+ "name": "MASK",
258
+ "type": "MASK",
259
+ "links": [
260
+ 5
261
+ ],
262
+ "shape": 3,
263
+ "slot_index": 1
264
+ }
265
+ ],
266
+ "properties": {
267
+ "Node name for S&R": "LoadImage"
268
+ },
269
+ "widgets_values": [
270
+ "clipspace/clipspace-mask-416378.30000000075.png [input]",
271
+ "image"
272
+ ]
273
+ },
274
+ {
275
+ "id": 33,
276
+ "type": "SAMDetectorSegmented",
277
+ "pos": [
278
+ 1740,
279
+ 310
280
+ ],
281
+ "size": {
282
+ "0": 315,
283
+ "1": 218
284
+ },
285
+ "flags": {},
286
+ "order": 5,
287
+ "mode": 0,
288
+ "inputs": [
289
+ {
290
+ "name": "sam_model",
291
+ "type": "SAM_MODEL",
292
+ "link": 45
293
+ },
294
+ {
295
+ "name": "segs",
296
+ "type": "SEGS",
297
+ "link": 46
298
+ },
299
+ {
300
+ "name": "image",
301
+ "type": "IMAGE",
302
+ "link": 47
303
+ }
304
+ ],
305
+ "outputs": [
306
+ {
307
+ "name": "combined_mask",
308
+ "type": "MASK",
309
+ "links": [
310
+ 44
311
+ ],
312
+ "shape": 3,
313
+ "slot_index": 0
314
+ },
315
+ {
316
+ "name": "batch_masks",
317
+ "type": "MASKS",
318
+ "links": [
319
+ 43,
320
+ 51
321
+ ],
322
+ "shape": 3,
323
+ "slot_index": 1
324
+ }
325
+ ],
326
+ "properties": {
327
+ "Node name for S&R": "SAMDetectorSegmented"
328
+ },
329
+ "widgets_values": [
330
+ "center-1",
331
+ 0,
332
+ 0.7,
333
+ 0,
334
+ 0.7,
335
+ "False"
336
+ ]
337
+ },
338
+ {
339
+ "id": 2,
340
+ "type": "SAMLoader",
341
+ "pos": [
342
+ 1160,
343
+ 310
344
+ ],
345
+ "size": {
346
+ "0": 315,
347
+ "1": 82
348
+ },
349
+ "flags": {},
350
+ "order": 1,
351
+ "mode": 0,
352
+ "outputs": [
353
+ {
354
+ "name": "SAM_MODEL",
355
+ "type": "SAM_MODEL",
356
+ "links": [
357
+ 45
358
+ ],
359
+ "shape": 3,
360
+ "slot_index": 0
361
+ }
362
+ ],
363
+ "properties": {
364
+ "Node name for S&R": "SAMLoader"
365
+ },
366
+ "widgets_values": [
367
+ "sam_vit_b_01ec64.pth",
368
+ "AUTO"
369
+ ]
370
+ },
371
+ {
372
+ "id": 6,
373
+ "type": "MaskToImage",
374
+ "pos": [
375
+ 2300,
376
+ 310
377
+ ],
378
+ "size": {
379
+ "0": 176.39999389648438,
380
+ "1": 26
381
+ },
382
+ "flags": {},
383
+ "order": 6,
384
+ "mode": 0,
385
+ "inputs": [
386
+ {
387
+ "name": "mask",
388
+ "type": "MASK",
389
+ "link": 44
390
+ }
391
+ ],
392
+ "outputs": [
393
+ {
394
+ "name": "IMAGE",
395
+ "type": "IMAGE",
396
+ "links": [
397
+ 8
398
+ ],
399
+ "shape": 3,
400
+ "slot_index": 0
401
+ }
402
+ ],
403
+ "properties": {
404
+ "Node name for S&R": "MaskToImage"
405
+ }
406
+ },
407
+ {
408
+ "id": 7,
409
+ "type": "PreviewImage",
410
+ "pos": [
411
+ 2720,
412
+ 310
413
+ ],
414
+ "size": {
415
+ "0": 210,
416
+ "1": 246
417
+ },
418
+ "flags": {},
419
+ "order": 9,
420
+ "mode": 0,
421
+ "inputs": [
422
+ {
423
+ "name": "images",
424
+ "type": "IMAGE",
425
+ "link": 8
426
+ }
427
+ ],
428
+ "properties": {
429
+ "Node name for S&R": "PreviewImage"
430
+ }
431
+ },
432
+ {
433
+ "id": 9,
434
+ "type": "PreviewImage",
435
+ "pos": [
436
+ 2720,
437
+ 680
438
+ ],
439
+ "size": {
440
+ "0": 210,
441
+ "1": 246
442
+ },
443
+ "flags": {},
444
+ "order": 13,
445
+ "mode": 0,
446
+ "inputs": [
447
+ {
448
+ "name": "images",
449
+ "type": "IMAGE",
450
+ "link": 50
451
+ }
452
+ ],
453
+ "properties": {
454
+ "Node name for S&R": "PreviewImage"
455
+ }
456
+ },
457
+ {
458
+ "id": 38,
459
+ "type": "Note",
460
+ "pos": [
461
+ 2032,
462
+ 698
463
+ ],
464
+ "size": [
465
+ 210,
466
+ 81.49969482421875
467
+ ],
468
+ "flags": {},
469
+ "order": 2,
470
+ "mode": 0,
471
+ "properties": {
472
+ "text": ""
473
+ },
474
+ "widgets_values": [
475
+ "MasksToMaskList node introduced\n"
476
+ ],
477
+ "color": "#432",
478
+ "bgcolor": "#653"
479
+ },
480
+ {
481
+ "id": 37,
482
+ "type": "Note",
483
+ "pos": [
484
+ 2071,
485
+ 384
486
+ ],
487
+ "size": [
488
+ 281.500244140625,
489
+ 65.09967041015625
490
+ ],
491
+ "flags": {},
492
+ "order": 3,
493
+ "mode": 0,
494
+ "properties": {
495
+ "text": ""
496
+ },
497
+ "widgets_values": [
498
+ "type of batch_masks => MASKS instead of MASK\n"
499
+ ],
500
+ "color": "#432",
501
+ "bgcolor": "#653"
502
+ }
503
+ ],
504
+ "links": [
505
+ [
506
+ 5,
507
+ 4,
508
+ 1,
509
+ 5,
510
+ 0,
511
+ "MASK"
512
+ ],
513
+ [
514
+ 8,
515
+ 6,
516
+ 0,
517
+ 7,
518
+ 0,
519
+ "IMAGE"
520
+ ],
521
+ [
522
+ 26,
523
+ 4,
524
+ 0,
525
+ 21,
526
+ 1,
527
+ "IMAGE"
528
+ ],
529
+ [
530
+ 27,
531
+ 21,
532
+ 0,
533
+ 22,
534
+ 0,
535
+ "IMAGE"
536
+ ],
537
+ [
538
+ 35,
539
+ 5,
540
+ 0,
541
+ 28,
542
+ 0,
543
+ "SEGS"
544
+ ],
545
+ [
546
+ 41,
547
+ 28,
548
+ 0,
549
+ 21,
550
+ 0,
551
+ "SEGS"
552
+ ],
553
+ [
554
+ 43,
555
+ 33,
556
+ 1,
557
+ 28,
558
+ 1,
559
+ "MASKS"
560
+ ],
561
+ [
562
+ 44,
563
+ 33,
564
+ 0,
565
+ 6,
566
+ 0,
567
+ "MASK"
568
+ ],
569
+ [
570
+ 45,
571
+ 2,
572
+ 0,
573
+ 33,
574
+ 0,
575
+ "SAM_MODEL"
576
+ ],
577
+ [
578
+ 46,
579
+ 5,
580
+ 0,
581
+ 33,
582
+ 1,
583
+ "SEGS"
584
+ ],
585
+ [
586
+ 47,
587
+ 4,
588
+ 0,
589
+ 33,
590
+ 2,
591
+ "IMAGE"
592
+ ],
593
+ [
594
+ 50,
595
+ 35,
596
+ 0,
597
+ 9,
598
+ 0,
599
+ "IMAGE"
600
+ ],
601
+ [
602
+ 51,
603
+ 33,
604
+ 1,
605
+ 36,
606
+ 0,
607
+ "MASKS"
608
+ ],
609
+ [
610
+ 52,
611
+ 36,
612
+ 0,
613
+ 35,
614
+ 0,
615
+ "MASK"
616
+ ]
617
+ ],
618
+ "groups": [],
619
+ "config": {},
620
+ "extra": {},
621
+ "version": 0.4
622
+ }