Skip to content

Commit

Permalink
add segment-anything examples json
Browse files Browse the repository at this point in the history
  • Loading branch information
Wanghanying committed Sep 29, 2024
1 parent b48a222 commit df531ce
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 0 deletions.
162 changes: 162 additions & 0 deletions examples/bizyair_auto_segment-anything.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
{
"last_node_id": 7,
"last_link_id": 7,
"nodes": [
{
"id": 3,
"type": "PreviewImage",
"pos": {
"0": 1374,
"1": 408,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": [
210,
246
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 7
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 2,
"type": "LoadImage",
"pos": {
"0": 564,
"1": 242,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"0804.png",
"image"
]
},
{
"id": 7,
"type": "BizyAirSegmentAnythingAuto",
"pos": {
"0": 989,
"1": 309,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 226.79998779296875,
"1": 26
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 6
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BizyAirSegmentAnythingAuto"
}
}
],
"links": [
[
6,
2,
0,
7,
0,
"IMAGE"
],
[
7,
7,
0,
3,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
92.66656494140625,
71.99996948242188
]
}
},
"version": 0.4
}
166 changes: 166 additions & 0 deletions examples/bizyair_text_guided_segment-anything.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"last_node_id": 6,
"last_link_id": 4,
"nodes": [
{
"id": 3,
"type": "PreviewImage",
"pos": {
"0": 1374,
"1": 408,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": [
210,
246
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 2
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 1,
"type": "BizyAirSegmentAnythingText",
"pos": {
"0": 947,
"1": 304,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BizyAirSegmentAnythingText"
},
"widgets_values": [
"person",
0.3,
0.2
]
},
{
"id": 2,
"type": "LoadImage",
"pos": {
"0": 564,
"1": 242,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
],
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"0804.png",
"image"
]
}
],
"links": [
[
1,
2,
0,
1,
0,
"IMAGE"
],
[
2,
1,
0,
3,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
53.99993896484375,
18.6666259765625
]
}
},
"version": 0.4
}

0 comments on commit df531ce

Please sign in to comment.