Files
kijai-ComfyUI-FluxTrainer/examples/flux_lora_train_test_01.json
T

2358 lines
39 KiB
JSON

{
"last_node_id": 89,
"last_link_id": 136,
"nodes": [
{
"id": 2,
"type": "FluxTrainModelSelect",
"pos": [
250,
87
],
"size": {
"0": 430,
"1": 130
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "flux_models",
"type": "TRAIN_FLUX_MODELS",
"links": [
64
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainModelSelect"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"flux_vae.safetensors",
"clip_l.safetensors",
"t5\\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors"
]
},
{
"id": 3,
"type": "TrainDatasetConfig",
"pos": [
261,
264
],
"size": {
"0": 420,
"1": 410
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "dataset",
"type": "TOML_DATASET",
"links": [
65
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "TrainDatasetConfig"
},
"widgets_values": [
1024,
1024,
1,
"../datasets/akihiko_yoshida_no_caps",
"",
true,
false,
256,
"1024, 768, 512",
false,
false,
1
]
},
{
"id": 4,
"type": "FluxTrainLoop",
"pos": [
1529,
338
],
"size": {
"0": 393,
"1": 58
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 66
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
7
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainLoop"
},
"widgets_values": [
750
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 8,
"type": "FluxTrainValidate",
"pos": [
1538.6797892578106,
487.55795644042973
],
"size": {
"0": 468.5999755859375,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 7
},
{
"name": "validation_settings",
"type": "VALSETTINGS",
"link": 60
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
40,
133
],
"slot_index": 0,
"shape": 3
},
{
"name": "validation_images",
"type": "IMAGE",
"links": [
8,
112
],
"slot_index": 1,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainValidate"
}
},
{
"id": 9,
"type": "PreviewImage",
"pos": [
1528.6797892578106,
587.5579564404297
],
"size": {
"0": 949.7310791015625,
"1": 468.02789306640625
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 14,
"type": "FluxTrainSave",
"pos": [
2044,
436
],
"size": {
"0": 393,
"1": 98
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 40
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
72
],
"slot_index": 0,
"shape": 3
},
{
"name": "lora_path",
"type": "STRING",
"links": [],
"slot_index": 1,
"shape": 3
},
{
"name": "steps",
"type": "INT",
"links": [
110
],
"slot_index": 2,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainSave"
},
"widgets_values": [
false
]
},
{
"id": 37,
"type": "FluxTrainValidationSettings",
"pos": [
773,
13
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "validation_settings",
"type": "VALSETTINGS",
"links": [
58
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainValidationSettings"
},
"widgets_values": [
20,
1024,
1024,
3.5,
42,
"fixed"
]
},
{
"id": 38,
"type": "SetNode",
"pos": {
"0": 1137,
"1": 43,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 210,
"1": 58
},
"flags": {
"collapsed": true
},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "VALSETTINGS",
"type": "VALSETTINGS",
"link": 58
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_validation_settings",
"properties": {
"previousName": "validation_settings"
},
"widgets_values": [
"validation_settings"
]
},
{
"id": 40,
"type": "GetNode",
"pos": {
"0": 1528.677978515625,
"1": 437.5579528808594,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 277.0899353027344,
"1": 58
},
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VALSETTINGS",
"type": "VALSETTINGS",
"links": [
60
],
"slot_index": 0
}
],
"title": "Get_validation_settings",
"properties": {},
"widgets_values": [
"validation_settings"
]
},
{
"id": 42,
"type": "InitFluxLoRATraining",
"pos": [
760,
280
],
"size": {
"0": 437.6565246582031,
"1": 802.5902099609375
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "flux_models",
"type": "TRAIN_FLUX_MODELS",
"link": 64
},
{
"name": "dataset_settings",
"type": "TOML_DATASET",
"link": 65
},
{
"name": "optimizer_settings",
"type": "ARGS",
"link": 67
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
66
],
"shape": 3
},
{
"name": "epochs_count",
"type": "INT",
"links": [
134
],
"shape": 3,
"slot_index": 1
},
{
"name": "output_path",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "InitFluxLoRATraining"
},
"widgets_values": [
"flux_lora",
"flux_lora_test",
4,
0.0004,
0.0001,
3000,
true,
0.0001,
true,
512,
"disk",
"disk",
false,
"logit_normal",
0,
1,
1.29,
"sigmoid",
1,
"raw",
1,
1,
false,
true,
"fp32",
"bf16",
"sdpa",
"illustration of a kitten | photograph of a turtle"
]
},
{
"id": 43,
"type": "OptimizerConfig",
"pos": [
362,
726
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "optimizer_settings",
"type": "ARGS",
"links": [
67
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "OptimizerConfig"
},
"widgets_values": [
"adamw8bit",
1,
"cosine_with_restarts",
0,
1,
1
]
},
{
"id": 44,
"type": "FluxTrainLoop",
"pos": [
2636,
338
],
"size": {
"0": 393,
"1": 58
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 72
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainLoop"
},
"widgets_values": [
750
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 45,
"type": "FluxTrainValidate",
"pos": [
2640,
500
],
"size": {
"0": 468.5999755859375,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 133
},
{
"name": "validation_settings",
"type": "VALSETTINGS",
"link": 69
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
71
],
"slot_index": 0,
"shape": 3
},
{
"name": "validation_images",
"type": "IMAGE",
"links": [
70,
119
],
"slot_index": 1,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainValidate"
}
},
{
"id": 46,
"type": "PreviewImage",
"pos": [
2654,
609
],
"size": {
"0": 850.0181274414062,
"1": 452.6767578125
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 70
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 47,
"type": "FluxTrainSave",
"pos": [
3137,
457
],
"size": {
"0": 393,
"1": 98
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 71
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
97
],
"slot_index": 0,
"shape": 3
},
{
"name": "lora_path",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "steps",
"type": "INT",
"links": [
116
],
"slot_index": 2,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainSave"
},
"widgets_values": [
false
]
},
{
"id": 48,
"type": "GetNode",
"pos": {
"0": 2630,
"1": 450,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 210,
"1": 58
},
"flags": {
"collapsed": true
},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VALSETTINGS",
"type": "VALSETTINGS",
"links": [
69
],
"slot_index": 0
}
],
"title": "Get_validation_settings",
"properties": {},
"widgets_values": [
"validation_settings"
]
},
{
"id": 59,
"type": "FluxTrainLoop",
"pos": [
3697,
338
],
"size": {
"0": 393,
"1": 58
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 97
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
88
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainLoop"
},
"widgets_values": [
750
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 60,
"type": "FluxTrainValidate",
"pos": [
3716.7086387499994,
510
],
"size": {
"0": 468.5999755859375,
"1": 46
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 88
},
{
"name": "validation_settings",
"type": "VALSETTINGS",
"link": 89
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
91
],
"slot_index": 0,
"shape": 3
},
{
"name": "validation_images",
"type": "IMAGE",
"links": [
90,
122
],
"slot_index": 1,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainValidate"
}
},
{
"id": 61,
"type": "PreviewImage",
"pos": [
3707,
610
],
"size": {
"0": 949.7310791015625,
"1": 468.02789306640625
},
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 90
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 62,
"type": "FluxTrainSave",
"pos": [
4227,
464
],
"size": {
"0": 393,
"1": 98
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 91
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
92
],
"slot_index": 0,
"shape": 3
},
{
"name": "lora_path",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "steps",
"type": "INT",
"links": [
120
],
"slot_index": 2,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainSave"
},
"widgets_values": [
false
]
},
{
"id": 63,
"type": "GetNode",
"pos": {
"0": 3706.7109375,
"1": 460,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 210,
"1": 58
},
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VALSETTINGS",
"type": "VALSETTINGS",
"links": [
89
],
"slot_index": 0
}
],
"title": "Get_validation_settings",
"properties": {},
"widgets_values": [
"validation_settings"
]
},
{
"id": 64,
"type": "FluxTrainLoop",
"pos": [
4765,
358
],
"size": {
"0": 393,
"1": 58
},
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 92
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
93
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainLoop"
},
"widgets_values": [
750
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 65,
"type": "FluxTrainValidate",
"pos": [
4775.216642000014,
518.4568783310547
],
"size": {
"0": 468.5999755859375,
"1": 46
},
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 93
},
{
"name": "validation_settings",
"type": "VALSETTINGS",
"link": 94
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
96
],
"slot_index": 0,
"shape": 3
},
{
"name": "validation_images",
"type": "IMAGE",
"links": [
95,
126
],
"slot_index": 1,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainValidate"
}
},
{
"id": 66,
"type": "PreviewImage",
"pos": [
4785.216642000014,
628.4568783310547
],
"size": {
"0": 850.0181274414062,
"1": 452.6767578125
},
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 95
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 67,
"type": "FluxTrainSave",
"pos": [
5274,
482
],
"size": {
"0": 393,
"1": 98
},
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 96
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": [
98,
99
],
"slot_index": 0,
"shape": 3
},
{
"name": "lora_path",
"type": "STRING",
"links": [],
"slot_index": 1,
"shape": 3
},
{
"name": "steps",
"type": "INT",
"links": [
125
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainSave"
},
"widgets_values": [
false
]
},
{
"id": 68,
"type": "GetNode",
"pos": {
"0": 4765.21875,
"1": 468.45684814453125,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 210,
"1": 58
},
"flags": {
"collapsed": true
},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VALSETTINGS",
"type": "VALSETTINGS",
"links": [
94
],
"slot_index": 0
}
],
"title": "Get_validation_settings",
"properties": {},
"widgets_values": [
"validation_settings"
]
},
{
"id": 69,
"type": "FluxTrainEnd",
"pos": [
5890,
500
],
"size": {
"0": 317.4000244140625,
"1": 78
},
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 98
}
],
"outputs": [
{
"name": "lora_path",
"type": "STRING",
"links": [
103,
135
],
"slot_index": 0,
"shape": 3
},
{
"name": "metadata",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxTrainEnd"
},
"widgets_values": [
true
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 70,
"type": "VisualizeLoss",
"pos": [
5876,
-181
],
"size": {
"0": 254.40000915527344,
"1": 26
},
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": 99
}
],
"outputs": [
{
"name": "plot",
"type": "IMAGE",
"links": [
100
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VisualizeLoss"
}
},
{
"id": 71,
"type": "PreviewImage",
"pos": [
5841,
-84
],
"size": {
"0": 579.0567016601562,
"1": 541.9993286132812
},
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 100
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 73,
"type": "Display Any (rgthree)",
"pos": [
6270,
660
],
"size": {
"0": 210,
"1": 76
},
"flags": {},
"order": 40,
"mode": 2,
"inputs": [
{
"name": "source",
"type": "*",
"link": 136,
"dir": 3
}
],
"properties": {
"Node name for S&R": "Display Any (rgthree)"
},
"widgets_values": [
""
]
},
{
"id": 74,
"type": "Display Any (rgthree)",
"pos": [
6275,
492
],
"size": {
"0": 210,
"1": 76.0000228881836
},
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 103,
"dir": 3
}
],
"properties": {
"Node name for S&R": "Display Any (rgthree)"
},
"widgets_values": [
""
]
},
{
"id": 77,
"type": "ImageConcatMulti",
"pos": [
5486,
1255
],
"size": {
"0": 210,
"1": 190
},
"flags": {},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 113
},
{
"name": "image_2",
"type": "IMAGE",
"link": 118
},
{
"name": "image_3",
"type": "IMAGE",
"link": 123
},
{
"name": "image_4",
"type": "IMAGE",
"link": 127
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
128
],
"slot_index": 0,
"shape": 3
}
],
"properties": {},
"widgets_values": [
4,
"down",
false,
null
]
},
{
"id": 78,
"type": "AddLabel",
"pos": [
2055,
1201
],
"size": {
"0": 315,
"1": 274
},
"flags": {
"collapsed": true
},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 112
},
{
"name": "caption",
"type": "STRING",
"link": null,
"widget": {
"name": "caption"
}
},
{
"name": "text",
"type": "STRING",
"link": 111,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
113
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "AddLabel"
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Text",
"up",
""
]
},
{
"id": 79,
"type": "SomethingToString",
"pos": [
1833,
1206
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 110
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
111
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SomethingToString"
},
"widgets_values": [
"steps ",
""
]
},
{
"id": 80,
"type": "AddLabel",
"pos": [
3030,
1267
],
"size": {
"0": 315,
"1": 274
},
"flags": {
"collapsed": true
},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 119
},
{
"name": "caption",
"type": "STRING",
"link": null,
"widget": {
"name": "caption"
}
},
{
"name": "text",
"type": "STRING",
"link": 117,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
118
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "AddLabel"
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Text",
"up",
""
]
},
{
"id": 81,
"type": "SomethingToString",
"pos": [
2760,
1265
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true
},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 116
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
117
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SomethingToString"
},
"widgets_values": [
"steps ",
""
]
},
{
"id": 82,
"type": "SomethingToString",
"pos": [
3916,
1206
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true
},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 120
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
121
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SomethingToString"
},
"widgets_values": [
"steps ",
""
]
},
{
"id": 83,
"type": "AddLabel",
"pos": [
4160,
1201
],
"size": {
"0": 315,
"1": 274
},
"flags": {
"collapsed": true
},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 122
},
{
"name": "caption",
"type": "STRING",
"link": null,
"widget": {
"name": "caption"
}
},
{
"name": "text",
"type": "STRING",
"link": 121,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
123
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "AddLabel"
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Text",
"up",
""
]
},
{
"id": 84,
"type": "SomethingToString",
"pos": [
4972,
1195
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true
},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 125
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
124
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SomethingToString"
},
"widgets_values": [
"steps ",
""
]
},
{
"id": 85,
"type": "AddLabel",
"pos": [
5317,
1251
],
"size": {
"0": 315,
"1": 274
},
"flags": {
"collapsed": true
},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 126
},
{
"name": "caption",
"type": "STRING",
"link": null,
"widget": {
"name": "caption"
}
},
{
"name": "text",
"type": "STRING",
"link": 124,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
127
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "AddLabel"
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Text",
"up",
""
]
},
{
"id": 86,
"type": "PreviewImage",
"pos": [
6542,
442
],
"size": {
"0": 532.0540771484375,
"1": 1101.3922119140625
},
"flags": {},
"order": 42,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 128
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 88,
"type": "Display Any (rgthree)",
"pos": [
1142,
124
],
"size": {
"0": 210,
"1": 76
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 134,
"dir": 3
}
],
"properties": {
"Node name for S&R": "Display Any (rgthree)"
},
"widgets_values": [
""
]
},
{
"id": 89,
"type": "UploadToHuggingFace",
"pos": [
5900,
660
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 37,
"mode": 2,
"inputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"link": null
},
{
"name": "source_path",
"type": "STRING",
"link": 135,
"widget": {
"name": "source_path"
}
}
],
"outputs": [
{
"name": "network_trainer",
"type": "NETWORKTRAINER",
"links": null,
"shape": 3
},
{
"name": "status",
"type": "STRING",
"links": [
136
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UploadToHuggingFace"
},
"widgets_values": [
"",
"",
"",
true,
""
]
}
],
"links": [
[
7,
4,
0,
8,
0,
"NETWORKTRAINER"
],
[
8,
8,
1,
9,
0,
"IMAGE"
],
[
40,
8,
0,
14,
0,
"NETWORKTRAINER"
],
[
58,
37,
0,
38,
0,
"*"
],
[
60,
40,
0,
8,
1,
"VALSETTINGS"
],
[
64,
2,
0,
42,
0,
"TRAIN_FLUX_MODELS"
],
[
65,
3,
0,
42,
1,
"TOML_DATASET"
],
[
66,
42,
0,
4,
0,
"NETWORKTRAINER"
],
[
67,
43,
0,
42,
2,
"ARGS"
],
[
69,
48,
0,
45,
1,
"VALSETTINGS"
],
[
70,
45,
1,
46,
0,
"IMAGE"
],
[
71,
45,
0,
47,
0,
"NETWORKTRAINER"
],
[
72,
14,
0,
44,
0,
"NETWORKTRAINER"
],
[
88,
59,
0,
60,
0,
"NETWORKTRAINER"
],
[
89,
63,
0,
60,
1,
"VALSETTINGS"
],
[
90,
60,
1,
61,
0,
"IMAGE"
],
[
91,
60,
0,
62,
0,
"NETWORKTRAINER"
],
[
92,
62,
0,
64,
0,
"NETWORKTRAINER"
],
[
93,
64,
0,
65,
0,
"NETWORKTRAINER"
],
[
94,
68,
0,
65,
1,
"VALSETTINGS"
],
[
95,
65,
1,
66,
0,
"IMAGE"
],
[
96,
65,
0,
67,
0,
"NETWORKTRAINER"
],
[
97,
47,
0,
59,
0,
"NETWORKTRAINER"
],
[
98,
67,
0,
69,
0,
"NETWORKTRAINER"
],
[
99,
67,
0,
70,
0,
"NETWORKTRAINER"
],
[
100,
70,
0,
71,
0,
"IMAGE"
],
[
103,
69,
0,
74,
0,
"*"
],
[
110,
14,
2,
79,
0,
"*"
],
[
111,
79,
0,
78,
2,
"STRING"
],
[
112,
8,
1,
78,
0,
"IMAGE"
],
[
113,
78,
0,
77,
0,
"IMAGE"
],
[
116,
47,
2,
81,
0,
"*"
],
[
117,
81,
0,
80,
2,
"STRING"
],
[
118,
80,
0,
77,
1,
"IMAGE"
],
[
119,
45,
1,
80,
0,
"IMAGE"
],
[
120,
62,
2,
82,
0,
"*"
],
[
121,
82,
0,
83,
2,
"STRING"
],
[
122,
60,
1,
83,
0,
"IMAGE"
],
[
123,
83,
0,
77,
2,
"IMAGE"
],
[
124,
84,
0,
85,
2,
"STRING"
],
[
125,
67,
2,
84,
0,
"*"
],
[
126,
65,
1,
85,
0,
"IMAGE"
],
[
127,
85,
0,
77,
3,
"IMAGE"
],
[
128,
77,
0,
86,
0,
"IMAGE"
],
[
133,
8,
0,
45,
0,
"NETWORKTRAINER"
],
[
134,
42,
1,
88,
0,
"*"
],
[
135,
69,
0,
89,
1,
"STRING"
],
[
136,
89,
1,
73,
0,
"*"
]
],
"groups": [
{
"title": "Train_01",
"bounding": [
1439,
120,
1107,
975
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Settings and init",
"bounding": [
193,
-145,
1174,
1238
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Train_02",
"bounding": [
2602,
124,
1046,
975
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Train_03",
"bounding": [
3681,
128,
1047,
986
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Train_04",
"bounding": [
4753,
127,
996,
989
],
"color": "#3f789e",
"font_size": 24
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.6209213230591557,
"offset": [
365.6901840006226,
107.00317247908333
]
}
},
"version": 0.4
}