{
 "id": "00000000-0000-0000-0000-000000000000",
 "revision": 0,
 "last_node_id": 7,
 "last_link_id": 9,
 "nodes": [
  {
   "id": 1,
   "type": "CheckpointLoaderSimple",
   "pos": [
    0,
    0
   ],
   "size": [
    281.9,
    98
   ],
   "flags": {},
   "order": 0,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "ckpt名",
     "name": "ckpt_name",
     "type": "COMBO",
     "widget": {
      "name": "ckpt_name"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "モデル",
     "name": "MODEL",
     "type": "MODEL",
     "links": [
      5
     ]
    },
    {
     "localized_name": "CLIP",
     "name": "CLIP",
     "type": "CLIP",
     "links": [
      3
     ]
    },
    {
     "localized_name": "VAE",
     "name": "VAE",
     "type": "VAE",
     "links": [
      2
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "CheckpointLoaderSimple"
   },
   "widgets_values": [
    "sdxl\\animagine-xl-4.0.safetensors"
   ]
  },
  {
   "id": 2,
   "type": "LoadImageDataSetFromFolder",
   "pos": [
    0,
    220
   ],
   "size": [
    365.9,
    58
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "フォルダ",
     "name": "folder",
     "type": "COMBO",
     "widget": {
      "name": "folder"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "画像",
     "name": "images",
     "shape": 6,
     "type": "IMAGE",
     "links": [
      1
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "LoadImageDataSetFromFolder"
   },
   "widgets_values": [
    "stellanoir"
   ]
  },
  {
   "id": 3,
   "type": "PrimitiveString",
   "pos": [
    0,
    440
   ],
   "size": [
    270,
    58
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "値",
     "name": "value",
     "type": "STRING",
     "widget": {
      "name": "value"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "文字列",
     "name": "STRING",
     "type": "STRING",
     "links": [
      4
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "PrimitiveString"
   },
   "widgets_values": [
    "stellanoir, 1girl, solo"
   ]
  },
  {
   "id": 4,
   "type": "MakeTrainingDataset",
   "pos": [
    460,
    150
   ],
   "size": [
    249.9,
    86
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "画像",
     "name": "images",
     "type": "IMAGE",
     "link": 1
    },
    {
     "localized_name": "vae",
     "name": "vae",
     "type": "VAE",
     "link": 2
    },
    {
     "localized_name": "clip",
     "name": "clip",
     "type": "CLIP",
     "link": 3
    },
    {
     "localized_name": "テキスト",
     "name": "texts",
     "shape": 7,
     "type": "STRING",
     "link": 4
    }
   ],
   "outputs": [
    {
     "localized_name": "latentリスト",
     "name": "latents",
     "shape": 6,
     "type": "LATENT",
     "links": [
      6
     ]
    },
    {
     "localized_name": "コンディショニング",
     "name": "conditioning",
     "shape": 6,
     "type": "CONDITIONING",
     "links": [
      7
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "MakeTrainingDataset"
   },
   "widgets_values": []
  },
  {
   "id": 5,
   "type": "TrainLoraNode",
   "pos": [
    920,
    0
   ],
   "size": [
    296.5625,
    530
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "モデル",
     "name": "model",
     "type": "MODEL",
     "link": 5
    },
    {
     "localized_name": "潜在変数",
     "name": "latents",
     "type": "LATENT",
     "link": 6
    },
    {
     "localized_name": "ポジティブ条件付け",
     "name": "positive",
     "type": "CONDITIONING",
     "link": 7
    },
    {
     "localized_name": "バッチサイズ",
     "name": "batch_size",
     "type": "INT",
     "widget": {
      "name": "batch_size"
     },
     "link": null
    },
    {
     "localized_name": "勾配蓄積ステップ数",
     "name": "grad_accumulation_steps",
     "type": "INT",
     "widget": {
      "name": "grad_accumulation_steps"
     },
     "link": null
    },
    {
     "localized_name": "ステップ数",
     "name": "steps",
     "type": "INT",
     "widget": {
      "name": "steps"
     },
     "link": null
    },
    {
     "localized_name": "学習率",
     "name": "learning_rate",
     "type": "FLOAT",
     "widget": {
      "name": "learning_rate"
     },
     "link": null
    },
    {
     "localized_name": "ランク",
     "name": "rank",
     "type": "INT",
     "widget": {
      "name": "rank"
     },
     "link": null
    },
    {
     "localized_name": "オプティマイザ",
     "name": "optimizer",
     "type": "COMBO",
     "widget": {
      "name": "optimizer"
     },
     "link": null
    },
    {
     "localized_name": "損失関数",
     "name": "loss_function",
     "type": "COMBO",
     "widget": {
      "name": "loss_function"
     },
     "link": null
    },
    {
     "localized_name": "シード",
     "name": "seed",
     "type": "INT",
     "widget": {
      "name": "seed"
     },
     "link": null
    },
    {
     "localized_name": "training_dtype",
     "name": "training_dtype",
     "type": "COMBO",
     "widget": {
      "name": "training_dtype"
     },
     "link": null
    },
    {
     "localized_name": "lora_dtype",
     "name": "lora_dtype",
     "type": "COMBO",
     "widget": {
      "name": "lora_dtype"
     },
     "link": null
    },
    {
     "localized_name": "quantized_backward",
     "name": "quantized_backward",
     "type": "BOOLEAN",
     "widget": {
      "name": "quantized_backward"
     },
     "link": null
    },
    {
     "localized_name": "algorithm",
     "name": "algorithm",
     "type": "COMBO",
     "widget": {
      "name": "algorithm"
     },
     "link": null
    },
    {
     "localized_name": "gradient_checkpointing",
     "name": "gradient_checkpointing",
     "type": "BOOLEAN",
     "widget": {
      "name": "gradient_checkpointing"
     },
     "link": null
    },
    {
     "localized_name": "チェックポイント深度",
     "name": "checkpoint_depth",
     "type": "INT",
     "widget": {
      "name": "checkpoint_depth"
     },
     "link": null
    },
    {
     "localized_name": "オフロード",
     "name": "offloading",
     "type": "BOOLEAN",
     "widget": {
      "name": "offloading"
     },
     "link": null
    },
    {
     "localized_name": "existing_lora",
     "name": "existing_lora",
     "type": "COMBO",
     "widget": {
      "name": "existing_lora"
     },
     "link": null
    },
    {
     "localized_name": "バケットモード",
     "name": "bucket_mode",
     "type": "BOOLEAN",
     "widget": {
      "name": "bucket_mode"
     },
     "link": null
    },
    {
     "localized_name": "bypass_mode",
     "name": "bypass_mode",
     "type": "BOOLEAN",
     "widget": {
      "name": "bypass_mode"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "lora",
     "name": "lora",
     "type": "LORA_MODEL",
     "links": [
      8
     ]
    },
    {
     "localized_name": "損失マップ",
     "name": "loss_map",
     "type": "LOSS_MAP",
     "links": [
      9
     ]
    },
    {
     "localized_name": "ステップ数",
     "name": "steps",
     "type": "INT",
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "TrainLoraNode"
   },
   "widgets_values": [
    1,
    1,
    1000,
    0.0005,
    8,
    "AdamW",
    "MSE",
    0,
    "randomize",
    "bf16",
    "bf16",
    false,
    "LoRA",
    true,
    1,
    false,
    "[None]",
    false,
    false
   ]
  },
  {
   "id": 6,
   "type": "SaveLoRA",
   "pos": [
    1480,
    0
   ],
   "size": [
    270,
    82
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "lora",
     "name": "lora",
     "type": "LORA_MODEL",
     "link": 8
    },
    {
     "localized_name": "prefix",
     "name": "prefix",
     "type": "STRING",
     "widget": {
      "name": "prefix"
     },
     "link": null
    },
    {
     "localized_name": "steps",
     "name": "steps",
     "shape": 7,
     "type": "INT",
     "widget": {
      "name": "steps"
     },
     "link": null
    }
   ],
   "outputs": [],
   "properties": {
    "Node name for S&R": "SaveLoRA"
   },
   "widgets_values": [
    "loras/stellanoir",
    0
   ]
  },
  {
   "id": 7,
   "type": "LossGraphNode",
   "pos": [
    1480,
    300
   ],
   "size": [
    308,
    58
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "損失",
     "name": "loss",
     "type": "LOSS_MAP",
     "link": 9
    },
    {
     "localized_name": "ファイル名プレフィックス",
     "name": "filename_prefix",
     "type": "STRING",
     "widget": {
      "name": "filename_prefix"
     },
     "link": null
    }
   ],
   "outputs": [],
   "properties": {
    "Node name for S&R": "LossGraphNode"
   },
   "widgets_values": [
    "stellanoir_loss"
   ]
  }
 ],
 "links": [
  [
   1,
   2,
   0,
   4,
   0,
   "IMAGE"
  ],
  [
   2,
   1,
   2,
   4,
   1,
   "VAE"
  ],
  [
   3,
   1,
   1,
   4,
   2,
   "CLIP"
  ],
  [
   4,
   3,
   0,
   4,
   3,
   "STRING"
  ],
  [
   5,
   1,
   0,
   5,
   0,
   "MODEL"
  ],
  [
   6,
   4,
   0,
   5,
   1,
   "LATENT"
  ],
  [
   7,
   4,
   1,
   5,
   2,
   "CONDITIONING"
  ],
  [
   8,
   5,
   0,
   6,
   0,
   "LORA_MODEL"
  ],
  [
   9,
   5,
   1,
   7,
   0,
   "LOSS_MAP"
  ]
 ],
 "groups": [],
 "config": {},
 "extra": {
  "ds": {
   "scale": 0.9,
   "offset": [
    416,
    110
   ]
  }
 },
 "version": 0.4
}