add workflow
This commit is contained in:
@@ -0,0 +1,336 @@
|
||||
{
|
||||
"last_node_id": 37,
|
||||
"last_link_id": 36,
|
||||
"nodes": [
|
||||
{
|
||||
"id": 3,
|
||||
"type": "DownloadAndLoadFlorence2Model",
|
||||
"pos": [
|
||||
318,
|
||||
89
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 106
|
||||
},
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "lora",
|
||||
"type": "PEFTLORA",
|
||||
"link": null,
|
||||
"label": "lora"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "florence2_model",
|
||||
"type": "FL2MODEL",
|
||||
"links": [
|
||||
2
|
||||
],
|
||||
"shape": 3,
|
||||
"label": "florence2_model"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "DownloadAndLoadFlorence2Model",
|
||||
"ttNbgOverride": {
|
||||
"color": "#c09430",
|
||||
"groupcolor": "#b58b2a"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"microsoft/Florence-2-base",
|
||||
"fp16",
|
||||
"sdpa"
|
||||
],
|
||||
"color": "#c09430"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"type": "Florence2Run",
|
||||
"pos": [
|
||||
683,
|
||||
240
|
||||
],
|
||||
"size": {
|
||||
"0": 274.36590576171875,
|
||||
"1": 304
|
||||
},
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"link": 18,
|
||||
"slot_index": 0,
|
||||
"label": "image"
|
||||
},
|
||||
{
|
||||
"name": "florence2_model",
|
||||
"type": "FL2MODEL",
|
||||
"link": 2,
|
||||
"label": "florence2_model"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"links": [],
|
||||
"slot_index": 0,
|
||||
"shape": 3,
|
||||
"label": "image"
|
||||
},
|
||||
{
|
||||
"name": "mask",
|
||||
"type": "MASK",
|
||||
"links": null,
|
||||
"shape": 3,
|
||||
"label": "mask"
|
||||
},
|
||||
{
|
||||
"name": "caption",
|
||||
"type": "STRING",
|
||||
"links": [
|
||||
32
|
||||
],
|
||||
"slot_index": 2,
|
||||
"shape": 3,
|
||||
"label": "caption"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"type": "JSON",
|
||||
"links": [],
|
||||
"slot_index": 3,
|
||||
"shape": 3,
|
||||
"label": "data"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "Florence2Run",
|
||||
"ttNbgOverride": {
|
||||
"color": "#c09430",
|
||||
"groupcolor": "#b58b2a"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"",
|
||||
"more_detailed_caption",
|
||||
false,
|
||||
false,
|
||||
1024,
|
||||
3,
|
||||
false,
|
||||
""
|
||||
],
|
||||
"color": "#c09430"
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"type": "Florence2Run_save_file_jsonL",
|
||||
"pos": [
|
||||
1101,
|
||||
276
|
||||
],
|
||||
"size": [
|
||||
315,
|
||||
82
|
||||
],
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "text",
|
||||
"type": "STRING",
|
||||
"link": 32,
|
||||
"widget": {
|
||||
"name": "text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "STRING",
|
||||
"link": 36,
|
||||
"widget": {
|
||||
"name": "path"
|
||||
}
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "Florence2Run_save_file_jsonL",
|
||||
"ttNbgOverride": {
|
||||
"color": "#c09430",
|
||||
"groupcolor": "#b58b2a"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"",
|
||||
"./ComfyUI/output/[time(%Y-%m-%d)]"
|
||||
],
|
||||
"color": "#c09430"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"type": "LoadImagesFromDir //Inspire",
|
||||
"pos": [
|
||||
243,
|
||||
257
|
||||
],
|
||||
"size": [
|
||||
315,
|
||||
170
|
||||
],
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "directory",
|
||||
"type": "STRING",
|
||||
"link": 35,
|
||||
"widget": {
|
||||
"name": "directory"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [
|
||||
18
|
||||
],
|
||||
"slot_index": 0,
|
||||
"shape": 3
|
||||
},
|
||||
{
|
||||
"name": "MASK",
|
||||
"type": "MASK",
|
||||
"links": null,
|
||||
"shape": 3
|
||||
},
|
||||
{
|
||||
"name": "INT",
|
||||
"type": "INT",
|
||||
"links": null,
|
||||
"shape": 3
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImagesFromDir //Inspire",
|
||||
"ttNbgOverride": {
|
||||
"color": "#c09430",
|
||||
"groupcolor": "#b58b2a"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"C:\\Users\\Administrator\\Desktop\\黑神话悟空",
|
||||
0,
|
||||
0,
|
||||
false
|
||||
],
|
||||
"color": "#c09430"
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"type": "String",
|
||||
"pos": [
|
||||
346,
|
||||
-22
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 58
|
||||
},
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "STRING",
|
||||
"type": "STRING",
|
||||
"links": [
|
||||
35,
|
||||
36
|
||||
],
|
||||
"shape": 3,
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
"title": "directory",
|
||||
"properties": {
|
||||
"Node name for S&R": "String",
|
||||
"ttNbgOverride": {
|
||||
"color": "#c09430",
|
||||
"groupcolor": "#b58b2a"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"C:\\Users\\Administrator\\Desktop\\黑神话悟空"
|
||||
],
|
||||
"color": "#c09430"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
[
|
||||
2,
|
||||
3,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
"FL2MODEL"
|
||||
],
|
||||
[
|
||||
18,
|
||||
15,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
32,
|
||||
1,
|
||||
2,
|
||||
34,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
[
|
||||
35,
|
||||
37,
|
||||
0,
|
||||
15,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
[
|
||||
36,
|
||||
37,
|
||||
0,
|
||||
34,
|
||||
1,
|
||||
"STRING"
|
||||
]
|
||||
],
|
||||
"groups": [],
|
||||
"config": {},
|
||||
"extra": {
|
||||
"ds": {
|
||||
"scale": 1.0610764609500007,
|
||||
"offset": [
|
||||
133.8031307036971,
|
||||
171.79214440112548
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
Reference in New Issue
Block a user