312 lines
7.3 KiB
JSON
312 lines
7.3 KiB
JSON
{
|
|
"last_node_id": 21,
|
|
"last_link_id": 35,
|
|
"nodes": [
|
|
{
|
|
"id": 4,
|
|
"type": "Display Any (rgthree)",
|
|
"pos": [
|
|
899,
|
|
263
|
|
],
|
|
"size": {
|
|
"0": 349.7635803222656,
|
|
"1": 88.69296264648438
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 34,
|
|
"dir": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Display Any (rgthree)"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "Display Any (rgthree)",
|
|
"pos": [
|
|
898,
|
|
150
|
|
],
|
|
"size": {
|
|
"0": 347.36749267578125,
|
|
"1": 87.71485137939453
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 33,
|
|
"dir": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Display Any (rgthree)"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "Display Any (rgthree)",
|
|
"pos": [
|
|
897,
|
|
373
|
|
],
|
|
"size": {
|
|
"0": 349.3501892089844,
|
|
"1": 98.81207275390625
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source",
|
|
"type": "*",
|
|
"link": 35,
|
|
"dir": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Display Any (rgthree)"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1307,
|
|
121
|
|
],
|
|
"size": {
|
|
"0": 557.6970825195312,
|
|
"1": 461.9648742675781
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 32
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 18,
|
|
"type": "Note Plus (mtb)",
|
|
"pos": {
|
|
"0": 411,
|
|
"1": -278,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 1447.654541015625,
|
|
"1": 329.1551513671875
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "Unnamed",
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"\n## [Eden](https://www.eden.art/)\nThis LoRa trainer was made by the team behind https://www.eden.art/, led by https://x.com/xsteenbrugge\n\nIf you make awesome stuff w this trainer, give us a shout at:\nhttps://x.com/eden_art_ or\nhttps://www.instagram.com/eden.art____/\n\n---\n\n---\n\n## SD15 + SDXL:\nThis trainer works for both SD15 and SDXL models, but the default settings are primarily tuned for SDXL models. By selecting a specific ckpt_name, the trainer will automatically know if its an SDXL or SD15 model!\n\n---\n\n### A note on Embeddings:\nThis trainer optionally trains a textual inversion token into the LoRa, this is highly recommended when using SDXL models, but also means you have to load that token embedding when doing inference! See the example workflows in the repo.\n\n\nThe default settings work great for SDXL, SD15 usually need more training steps (eg 800) and sometimes benefits from disabling ti_training.\n\n---\n\n### A note on captioning:\nImages will get automatically captioned. It is recommended to put a .env file in the root of this custom node repo with your OpenAI API key, if found that will trigger a prompt_cleanup function that significantly improves results!\n",
|
|
"markdown",
|
|
"",
|
|
"one_dark"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653",
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 19,
|
|
"type": "Note Plus (mtb)",
|
|
"pos": {
|
|
"0": 48,
|
|
"1": 106,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": [
|
|
325.27622360123536,
|
|
609
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "Unnamed",
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"\n## A note on settings:\n\nIf you disbale\\_ti (not recommended) you'll get a normal LoRa that does not use a token embedding, in that case you typically need to train for a bit longer and increase the unet_lr.\n\n---\n\n\"training_images\" can both be a path to a local folder or a url to a public .zip file of imgs which will get downloaded.\n\n---\n\nYou can provide custom captions by placing a filename.txt file for each filename.jpg in the training_images folder\n\n---\n\nI highly recommend to keep the training resolution at either 512 or 768.\n\n---\n\nn_tokens = 1 is currently broken, need to fix that.\n\n---\n\nAn embedding + LoRa checkpoint will get saved every **save\\_checkpoint\\_every\\_n\\_steps**. Based on the sample image grid you can then pick the best checkpoint to use in your workflows!\n\n---\n\nSetting debug=True will save a bunch of additional graphs and visualizations to track whats happening during training for advanced users.",
|
|
"markdown",
|
|
"",
|
|
"one_dark"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653",
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": "Eden_LoRa_trainer",
|
|
"pos": [
|
|
413,
|
|
124
|
|
],
|
|
"size": [
|
|
412.5926450093166,
|
|
591.4499899627035
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "sample_images",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
32
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "lora_path",
|
|
"type": "STRING",
|
|
"links": [
|
|
33
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "embedding_path",
|
|
"type": "STRING",
|
|
"links": [
|
|
34
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "final_msg",
|
|
"type": "STRING",
|
|
"links": [
|
|
35
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Eden_LoRa_trainer"
|
|
},
|
|
"widgets_values": [
|
|
"https://edenartlab-lfs.s3.amazonaws.com/datasets/twisting_realities.zip",
|
|
"style",
|
|
"Eden_Token_LoRa",
|
|
"zavychromaxl_v90.safetensors",
|
|
512,
|
|
4,
|
|
300,
|
|
0.001,
|
|
0.0005,
|
|
16,
|
|
false,
|
|
3,
|
|
200,
|
|
6,
|
|
0.7,
|
|
false,
|
|
40092,
|
|
"randomize"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
32,
|
|
21,
|
|
0,
|
|
2,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
33,
|
|
21,
|
|
1,
|
|
3,
|
|
0,
|
|
"*"
|
|
],
|
|
[
|
|
34,
|
|
21,
|
|
2,
|
|
4,
|
|
0,
|
|
"*"
|
|
],
|
|
[
|
|
35,
|
|
21,
|
|
3,
|
|
5,
|
|
0,
|
|
"*"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.6830134553650705,
|
|
"offset": [
|
|
106.80403405562511,
|
|
337.0121827057539
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |