205 lines
3.7 KiB
JSON
205 lines
3.7 KiB
JSON
{
|
|
"last_node_id": 8,
|
|
"last_link_id": 9,
|
|
"nodes": [
|
|
{
|
|
"id": 7,
|
|
"type": "LayerUtility: LoadVQAModel",
|
|
"pos": {
|
|
"0": 599,
|
|
"1": 113
|
|
},
|
|
"size": {
|
|
"0": 352.79998779296875,
|
|
"1": 106
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "vqa_model",
|
|
"type": "VQA_MODEL",
|
|
"links": [
|
|
8
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerUtility: LoadVQAModel"
|
|
},
|
|
"widgets_values": [
|
|
"blip-vqa-base",
|
|
"fp16",
|
|
"cuda"
|
|
],
|
|
"color": "rgba(38, 73, 116, 0.7)"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "LoadImage",
|
|
"pos": {
|
|
"0": 214,
|
|
"1": 150
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
7
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"201709_08_2017.jpg",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "LayerUtility: VQAPrompt",
|
|
"pos": {
|
|
"0": 599,
|
|
"1": 287
|
|
},
|
|
"size": [
|
|
350.3710035845893,
|
|
179.27100631924975
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 7
|
|
},
|
|
{
|
|
"name": "vqa_model",
|
|
"type": "VQA_MODEL",
|
|
"link": 8
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"links": [
|
|
9
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerUtility: VQAPrompt"
|
|
},
|
|
"widgets_values": [
|
|
"{age number} years old {ethnicity} {gender}, weared {garment color} {garment}, {eye color} eyes, {hair style} {hair color} hair, {background} background."
|
|
],
|
|
"color": "rgba(38, 73, 116, 0.7)"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "ShowText|pysssss",
|
|
"pos": {
|
|
"0": 996,
|
|
"1": 271
|
|
},
|
|
"size": [
|
|
373.7758109354413,
|
|
191.17457077237475
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"link": 9,
|
|
"widget": {
|
|
"name": "text"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 6
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ShowText|pysssss"
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
"8 years old white female, weared green dress, blue eyes, short blonde hair. flowers background."
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
7,
|
|
3,
|
|
0,
|
|
8,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
8,
|
|
7,
|
|
0,
|
|
8,
|
|
1,
|
|
"VQA_MODEL"
|
|
],
|
|
[
|
|
9,
|
|
8,
|
|
0,
|
|
4,
|
|
0,
|
|
"STRING"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1.2100000000000009,
|
|
"offset": [
|
|
82.59991056080125,
|
|
175.82350027651842
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |