201 lines
3.9 KiB
JSON
201 lines
3.9 KiB
JSON
{
|
|
"last_node_id": 5,
|
|
"last_link_id": 4,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "YogurtInstructSAMModelLoader",
|
|
"pos": [40, 40],
|
|
"size": [330, 190],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "YOGURT_INSTRUCTSAM_MODEL",
|
|
"links": [1],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "YogurtInstructSAMModelLoader"
|
|
},
|
|
"widgets_values": [
|
|
"CircleRadon--InstructSAM-2B",
|
|
"auto",
|
|
false,
|
|
true,
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "LoadImage",
|
|
"pos": [40, 300],
|
|
"size": [330, 310],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [2],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"example.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "YogurtInstructSAMImageSegmentation",
|
|
"pos": [470, 180],
|
|
"size": [390, 250],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "YOGURT_INSTRUCTSAM_MODEL",
|
|
"link": 1
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "instance_masks",
|
|
"type": "MASK",
|
|
"links": [4],
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "union_mask",
|
|
"type": "MASK",
|
|
"links": [3],
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "scores",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 3
|
|
},
|
|
{
|
|
"name": "instance_count",
|
|
"type": "INT",
|
|
"links": null,
|
|
"slot_index": 4
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "YogurtInstructSAMImageSegmentation"
|
|
},
|
|
"widgets_values": [
|
|
"Please segment all people in the image.",
|
|
0.3,
|
|
0.5
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "MaskPreview",
|
|
"pos": [950, 100],
|
|
"size": [310, 120],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"title": "Preview Union Mask",
|
|
"properties": {
|
|
"Node name for S&R": "MaskPreview"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "MaskPreview",
|
|
"pos": [950, 310],
|
|
"size": [310, 120],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 4
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"title": "Preview Instance Masks",
|
|
"properties": {
|
|
"Node name for S&R": "MaskPreview"
|
|
},
|
|
"widgets_values": []
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 3, 0, "YOGURT_INSTRUCTSAM_MODEL"],
|
|
[2, 2, 0, 3, 1, "IMAGE"],
|
|
[3, 3, 2, 4, 0, "MASK"],
|
|
[4, 3, 1, 5, 0, "MASK"]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.9,
|
|
"offset": [80, 80]
|
|
},
|
|
"frontendVersion": "1.45.20"
|
|
},
|
|
"version": 0.4
|
|
}
|