Guest User

Z Image Onetrainer Config

a guest
Feb 18th, 2026
1,472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.06 KB | Software | 0 0
  1. {
  2. "__version": 10,
  3. "training_method": "LORA",
  4. "model_type": "Z_IMAGE",
  5. "debug_mode": false,
  6. "debug_dir": "debug",
  7. "workspace_dir": "",
  8. "cache_dir": "",
  9. "tensorboard": true,
  10. "tensorboard_expose": false,
  11. "tensorboard_always_on": false,
  12. "tensorboard_port": 6006,
  13. "validation": false,
  14. "validate_after": 1,
  15. "validate_after_unit": "EPOCH",
  16. "continue_last_backup": true,
  17. "include_train_config": "NONE",
  18. "multi_gpu": false,
  19. "device_indexes": "",
  20. "gradient_reduce_precision": "FLOAT_32_STOCHASTIC",
  21. "fused_gradient_reduce": true,
  22. "async_gradient_reduce": true,
  23. "async_gradient_reduce_buffer": 100,
  24. "base_model_name": "Tongyi-MAI/Z-Image",
  25. "output_dtype": "BFLOAT_16",
  26. "output_model_format": "SAFETENSORS",
  27. "output_model_destination": "",
  28. "gradient_checkpointing": "ON",
  29. "enable_async_offloading": true,
  30. "enable_activation_offloading": true,
  31. "layer_offload_fraction": 0.0,
  32. "force_circular_padding": false,
  33. "compile": true,
  34. "concept_file_name": "training_concepts/concepts.json",
  35. "concepts": [
  36. {
  37. "__version": 2,
  38. "image": {
  39. "__version": 0,
  40. "enable_crop_jitter": true,
  41. "enable_random_flip": false,
  42. "enable_fixed_flip": false,
  43. "enable_random_rotate": false,
  44. "enable_fixed_rotate": false,
  45. "random_rotate_max_angle": 0.0,
  46. "enable_random_brightness": false,
  47. "enable_fixed_brightness": false,
  48. "random_brightness_max_strength": 0.0,
  49. "enable_random_contrast": false,
  50. "enable_fixed_contrast": false,
  51. "random_contrast_max_strength": 0.0,
  52. "enable_random_saturation": false,
  53. "enable_fixed_saturation": false,
  54. "random_saturation_max_strength": 0.0,
  55. "enable_random_hue": false,
  56. "enable_fixed_hue": false,
  57. "random_hue_max_strength": 0.0,
  58. "enable_resolution_override": false,
  59. "resolution_override": "512",
  60. "enable_random_circular_mask_shrink": false,
  61. "enable_random_mask_rotate_crop": false
  62. },
  63. "text": {
  64. "__version": 0,
  65. "prompt_source": "sample",
  66. "prompt_path": "",
  67. "enable_tag_shuffling": false,
  68. "tag_delimiter": ".",
  69. "keep_tags_count": 1,
  70. "tag_dropout_enable": true,
  71. "tag_dropout_mode": "RANDOM WEIGHTED",
  72. "tag_dropout_probability": 0.05,
  73. "tag_dropout_special_tags_mode": "WHITELIST",
  74. "tag_dropout_special_tags": "CarlesDalmau",
  75. "tag_dropout_special_tags_regex": false,
  76. "caps_randomize_enable": false,
  77. "caps_randomize_mode": "capslock, title, first, random",
  78. "caps_randomize_probability": 0.0,
  79. "caps_randomize_lowercase": false
  80. },
  81. "name": "CarlesDalmau",
  82. "path": "D:/AI storage/Datasets/Carles Dalmau",
  83. "seed": -89195872,
  84. "enabled": false,
  85. "type": "STANDARD",
  86. "include_subdirectories": false,
  87. "image_variations": 1,
  88. "text_variations": 12,
  89. "balancing": 1.0,
  90. "balancing_strategy": "REPEATS",
  91. "loss_weight": 1.0,
  92. "concept_stats": {
  93. "file_size": 27708883,
  94. "image_count": 56,
  95. "image_with_mask_count": 0,
  96. "image_with_caption_count": 56,
  97. "video_count": 0,
  98. "video_with_mask_count": 0,
  99. "video_with_caption_count": 0,
  100. "mask_count": 0,
  101. "paired_masks": 0,
  102. "unpaired_masks": 0,
  103. "caption_count": 57,
  104. "subcaption_count": 509,
  105. "paired_captions": 56,
  106. "unpaired_captions": 1,
  107. "processing_time": 0.07215320000250358,
  108. "directory_count": 1,
  109. "max_pixels": [
  110. 3788800,
  111. "CarlesDalmau (39).jpg",
  112. "1850w x 2048h"
  113. ],
  114. "min_pixels": [
  115. 1670400,
  116. "CarlesDalmau (24).jpg",
  117. "1440w x 1160h"
  118. ],
  119. "avg_pixels": 3299898.2857142854,
  120. "max_length": [
  121. 0,
  122. "-"
  123. ],
  124. "min_length": [
  125. 1000000000,
  126. "-"
  127. ],
  128. "avg_length": 0,
  129. "max_fps": [
  130. 0,
  131. "-"
  132. ],
  133. "min_fps": [
  134. 1000000000,
  135. "-"
  136. ],
  137. "avg_fps": 0,
  138. "max_caption_length": [
  139. 854,
  140. "CarlesDalmau (24).jpg",
  141. 142
  142. ],
  143. "min_caption_length": [
  144. 0,
  145. "CarlesDalmau (1).jpg",
  146. 0
  147. ],
  148. "avg_caption_length": [
  149. 212.3288920832016,
  150. 34.709654148312424
  151. ],
  152. "aspect_buckets": {
  153. "0.25": 0,
  154. "0.285714": 0,
  155. "0.333333": 0,
  156. "0.4": 0,
  157. "0.5": 0,
  158. "0.571429": 1,
  159. "0.666667": 1,
  160. "0.8": 11,
  161. "1.0": 2,
  162. "1.25": 41,
  163. "1.5": 0,
  164. "1.75": 0,
  165. "2.0": 0,
  166. "2.5": 0,
  167. "3.0": 0,
  168. "3.5": 0,
  169. "4.0": 0
  170. },
  171. "force_cancelled": false
  172. }
  173. },
  174. {
  175. "__version": 2,
  176. "image": {
  177. "__version": 0,
  178. "enable_crop_jitter": true,
  179. "enable_random_flip": false,
  180. "enable_fixed_flip": false,
  181. "enable_random_rotate": false,
  182. "enable_fixed_rotate": false,
  183. "random_rotate_max_angle": 0.0,
  184. "enable_random_brightness": false,
  185. "enable_fixed_brightness": false,
  186. "random_brightness_max_strength": 0.0,
  187. "enable_random_contrast": false,
  188. "enable_fixed_contrast": false,
  189. "random_contrast_max_strength": 0.0,
  190. "enable_random_saturation": false,
  191. "enable_fixed_saturation": false,
  192. "random_saturation_max_strength": 0.0,
  193. "enable_random_hue": false,
  194. "enable_fixed_hue": false,
  195. "random_hue_max_strength": 0.0,
  196. "enable_resolution_override": false,
  197. "resolution_override": "512",
  198. "enable_random_circular_mask_shrink": false,
  199. "enable_random_mask_rotate_crop": false
  200. },
  201. "text": {
  202. "__version": 0,
  203. "prompt_source": "sample",
  204. "prompt_path": "",
  205. "enable_tag_shuffling": false,
  206. "tag_delimiter": ".",
  207. "keep_tags_count": 1,
  208. "tag_dropout_enable": true,
  209. "tag_dropout_mode": "RANDOM WEIGHTED",
  210. "tag_dropout_probability": 0.05,
  211. "tag_dropout_special_tags_mode": "WHITELIST",
  212. "tag_dropout_special_tags": "PoaPoa",
  213. "tag_dropout_special_tags_regex": false,
  214. "caps_randomize_enable": false,
  215. "caps_randomize_mode": "capslock, title, first, random",
  216. "caps_randomize_probability": 0.0,
  217. "caps_randomize_lowercase": false
  218. },
  219. "name": "PoaPoa",
  220. "path": "D:/AI storage/Datasets/Poapoa",
  221. "seed": 580569543,
  222. "enabled": false,
  223. "type": "STANDARD",
  224. "include_subdirectories": false,
  225. "image_variations": 1,
  226. "text_variations": 12,
  227. "balancing": 1.0,
  228. "balancing_strategy": "REPEATS",
  229. "loss_weight": 1.0,
  230. "concept_stats": {
  231. "file_size": 11945422,
  232. "image_count": 31,
  233. "image_with_mask_count": 0,
  234. "image_with_caption_count": 31,
  235. "video_count": 0,
  236. "video_with_mask_count": 0,
  237. "video_with_caption_count": 0,
  238. "mask_count": 0,
  239. "paired_masks": 0,
  240. "unpaired_masks": 0,
  241. "caption_count": 32,
  242. "subcaption_count": 241,
  243. "paired_captions": 31,
  244. "unpaired_captions": 1,
  245. "processing_time": 0.38593129999935627,
  246. "directory_count": 1,
  247. "max_pixels": [
  248. 3891200,
  249. "PoaPoa (5).jpg",
  250. "1900w x 2048h"
  251. ],
  252. "min_pixels": [
  253. 1956976,
  254. "PoaPoa (19).jpg",
  255. "1616w x 1211h"
  256. ],
  257. "avg_pixels": 3244597.1612903234,
  258. "max_length": [
  259. 0,
  260. "-"
  261. ],
  262. "min_length": [
  263. 1000000000,
  264. "-"
  265. ],
  266. "avg_length": 0,
  267. "max_fps": [
  268. 0,
  269. "-"
  270. ],
  271. "min_fps": [
  272. 1000000000,
  273. "-"
  274. ],
  275. "avg_fps": 0,
  276. "max_caption_length": [
  277. 710,
  278. "PoaPoa (2).jpg",
  279. 115
  280. ],
  281. "min_caption_length": [
  282. 0,
  283. "PoaPoa (1).jpg",
  284. 0
  285. ],
  286. "avg_caption_length": [
  287. 213.10190774655678,
  288. 34.900307911807865
  289. ],
  290. "aspect_buckets": {
  291. "0.25": 0,
  292. "0.285714": 0,
  293. "0.333333": 0,
  294. "0.4": 0,
  295. "0.5": 0,
  296. "0.571429": 2,
  297. "0.666667": 0,
  298. "0.8": 7,
  299. "1.0": 2,
  300. "1.25": 18,
  301. "1.5": 2,
  302. "1.75": 0,
  303. "2.0": 0,
  304. "2.5": 0,
  305. "3.0": 0,
  306. "3.5": 0,
  307. "4.0": 0
  308. },
  309. "force_cancelled": false
  310. }
  311. },
  312. {
  313. "__version": 2,
  314. "image": {
  315. "__version": 0,
  316. "enable_crop_jitter": true,
  317. "enable_random_flip": false,
  318. "enable_fixed_flip": false,
  319. "enable_random_rotate": false,
  320. "enable_fixed_rotate": false,
  321. "random_rotate_max_angle": 0.0,
  322. "enable_random_brightness": false,
  323. "enable_fixed_brightness": false,
  324. "random_brightness_max_strength": 0.0,
  325. "enable_random_contrast": false,
  326. "enable_fixed_contrast": false,
  327. "random_contrast_max_strength": 0.0,
  328. "enable_random_saturation": false,
  329. "enable_fixed_saturation": false,
  330. "random_saturation_max_strength": 0.0,
  331. "enable_random_hue": false,
  332. "enable_fixed_hue": false,
  333. "random_hue_max_strength": 0.0,
  334. "enable_resolution_override": false,
  335. "resolution_override": "512",
  336. "enable_random_circular_mask_shrink": false,
  337. "enable_random_mask_rotate_crop": false
  338. },
  339. "text": {
  340. "__version": 0,
  341. "prompt_source": "sample",
  342. "prompt_path": "",
  343. "enable_tag_shuffling": false,
  344. "tag_delimiter": ".",
  345. "keep_tags_count": 1,
  346. "tag_dropout_enable": false,
  347. "tag_dropout_mode": "RANDOM WEIGHTED",
  348. "tag_dropout_probability": 0.05,
  349. "tag_dropout_special_tags_mode": "NONE",
  350. "tag_dropout_special_tags": "Gaako",
  351. "tag_dropout_special_tags_regex": false,
  352. "caps_randomize_enable": false,
  353. "caps_randomize_mode": "capslock, title, first, random",
  354. "caps_randomize_probability": 0.0,
  355. "caps_randomize_lowercase": false
  356. },
  357. "name": "Gaako",
  358. "path": "D:/AI storage/Datasets/Gaako",
  359. "seed": 953011460,
  360. "enabled": false,
  361. "type": "STANDARD",
  362. "include_subdirectories": false,
  363. "image_variations": 1,
  364. "text_variations": 12,
  365. "balancing": 1.0,
  366. "balancing_strategy": "REPEATS",
  367. "loss_weight": 1.0,
  368. "concept_stats": {
  369. "file_size": 14235906,
  370. "image_count": 31,
  371. "image_with_mask_count": 0,
  372. "image_with_caption_count": 31,
  373. "video_count": 0,
  374. "video_with_mask_count": 0,
  375. "video_with_caption_count": 0,
  376. "mask_count": 0,
  377. "paired_masks": 0,
  378. "unpaired_masks": 0,
  379. "caption_count": 32,
  380. "subcaption_count": 261,
  381. "paired_captions": 31,
  382. "unpaired_captions": 1,
  383. "processing_time": 0.39762589999008924,
  384. "directory_count": 1,
  385. "max_pixels": [
  386. 9437184,
  387. "Gaako (9).jpg",
  388. "4096w x 2304h"
  389. ],
  390. "min_pixels": [
  391. 2073600,
  392. "Gaako (11).jpg",
  393. "1920w x 1080h"
  394. ],
  395. "avg_pixels": 3371107.0967741935,
  396. "max_length": [
  397. 0,
  398. "-"
  399. ],
  400. "min_length": [
  401. 1000000000,
  402. "-"
  403. ],
  404. "avg_length": 0,
  405. "max_fps": [
  406. 0,
  407. "-"
  408. ],
  409. "min_fps": [
  410. 1000000000,
  411. "-"
  412. ],
  413. "avg_fps": 0,
  414. "max_caption_length": [
  415. 753,
  416. "Gaako (28).jpg",
  417. 121
  418. ],
  419. "min_caption_length": [
  420. 0,
  421. "Gaako (1).jpg",
  422. 0
  423. ],
  424. "avg_caption_length": [
  425. 237.47764196073797,
  426. 38.29810871400896
  427. ],
  428. "aspect_buckets": {
  429. "0.25": 0,
  430. "0.285714": 0,
  431. "0.333333": 0,
  432. "0.4": 0,
  433. "0.5": 0,
  434. "0.571429": 4,
  435. "0.666667": 2,
  436. "0.8": 0,
  437. "1.0": 2,
  438. "1.25": 1,
  439. "1.5": 21,
  440. "1.75": 1,
  441. "2.0": 0,
  442. "2.5": 0,
  443. "3.0": 0,
  444. "3.5": 0,
  445. "4.0": 0
  446. },
  447. "force_cancelled": false
  448. }
  449. },
  450. {
  451. "__version": 2,
  452. "image": {
  453. "__version": 0,
  454. "enable_crop_jitter": true,
  455. "enable_random_flip": false,
  456. "enable_fixed_flip": false,
  457. "enable_random_rotate": false,
  458. "enable_fixed_rotate": false,
  459. "random_rotate_max_angle": 0.0,
  460. "enable_random_brightness": false,
  461. "enable_fixed_brightness": false,
  462. "random_brightness_max_strength": 0.0,
  463. "enable_random_contrast": false,
  464. "enable_fixed_contrast": false,
  465. "random_contrast_max_strength": 0.0,
  466. "enable_random_saturation": false,
  467. "enable_fixed_saturation": false,
  468. "random_saturation_max_strength": 0.0,
  469. "enable_random_hue": false,
  470. "enable_fixed_hue": false,
  471. "random_hue_max_strength": 0.0,
  472. "enable_resolution_override": false,
  473. "resolution_override": "512",
  474. "enable_random_circular_mask_shrink": false,
  475. "enable_random_mask_rotate_crop": false
  476. },
  477. "text": {
  478. "__version": 0,
  479. "prompt_source": "sample",
  480. "prompt_path": "",
  481. "enable_tag_shuffling": false,
  482. "tag_delimiter": ".",
  483. "keep_tags_count": 1,
  484. "tag_dropout_enable": true,
  485. "tag_dropout_mode": "RANDOM WEIGHTED",
  486. "tag_dropout_probability": 0.05,
  487. "tag_dropout_special_tags_mode": "NONE",
  488. "tag_dropout_special_tags": "",
  489. "tag_dropout_special_tags_regex": false,
  490. "caps_randomize_enable": false,
  491. "caps_randomize_mode": "capslock, title, first, random",
  492. "caps_randomize_probability": 0.0,
  493. "caps_randomize_lowercase": false
  494. },
  495. "name": "CSR",
  496. "path": "D:/AI storage/Datasets/CuteSexyRobutts",
  497. "seed": 15370606,
  498. "enabled": false,
  499. "type": "STANDARD",
  500. "include_subdirectories": false,
  501. "image_variations": 1,
  502. "text_variations": 12,
  503. "balancing": 1.0,
  504. "balancing_strategy": "REPEATS",
  505. "loss_weight": 1.0,
  506. "concept_stats": {
  507. "file_size": 34174954,
  508. "image_count": 36,
  509. "image_with_mask_count": 0,
  510. "image_with_caption_count": 36,
  511. "video_count": 0,
  512. "video_with_mask_count": 0,
  513. "video_with_caption_count": 0,
  514. "mask_count": 0,
  515. "paired_masks": 0,
  516. "unpaired_masks": 0,
  517. "caption_count": 37,
  518. "subcaption_count": 296,
  519. "paired_captions": 36,
  520. "unpaired_captions": 1,
  521. "processing_time": 0.05113660000006348,
  522. "directory_count": 1,
  523. "max_pixels": [
  524. 2114200,
  525. "CSR (24).jpg",
  526. "1550w x 1364h"
  527. ],
  528. "min_pixels": [
  529. 1387740,
  530. "CSR (18).jpg",
  531. "916w x 1515h"
  532. ],
  533. "avg_pixels": 1684626.1944444443,
  534. "max_length": [
  535. 0,
  536. "-"
  537. ],
  538. "min_length": [
  539. 1000000000,
  540. "-"
  541. ],
  542. "avg_length": 0,
  543. "max_fps": [
  544. 0,
  545. "-"
  546. ],
  547. "min_fps": [
  548. 1000000000,
  549. "-"
  550. ],
  551. "avg_fps": 0,
  552. "max_caption_length": [
  553. 712,
  554. "CSR (42).jpg",
  555. 125
  556. ],
  557. "min_caption_length": [
  558. 0,
  559. "CSR (1).jpg",
  560. 0
  561. ],
  562. "avg_caption_length": [
  563. 216.432848317709,
  564. 35.7814838312054
  565. ],
  566. "aspect_buckets": {
  567. "0.25": 0,
  568. "0.285714": 0,
  569. "0.333333": 0,
  570. "0.4": 0,
  571. "0.5": 0,
  572. "0.571429": 2,
  573. "0.666667": 2,
  574. "0.8": 3,
  575. "1.0": 0,
  576. "1.25": 10,
  577. "1.5": 17,
  578. "1.75": 2,
  579. "2.0": 0,
  580. "2.5": 0,
  581. "3.0": 0,
  582. "3.5": 0,
  583. "4.0": 0
  584. },
  585. "force_cancelled": false
  586. }
  587. },
  588. {
  589. "__version": 2,
  590. "image": {
  591. "__version": 0,
  592. "enable_crop_jitter": true,
  593. "enable_random_flip": false,
  594. "enable_fixed_flip": false,
  595. "enable_random_rotate": false,
  596. "enable_fixed_rotate": false,
  597. "random_rotate_max_angle": 0.0,
  598. "enable_random_brightness": false,
  599. "enable_fixed_brightness": false,
  600. "random_brightness_max_strength": 0.0,
  601. "enable_random_contrast": false,
  602. "enable_fixed_contrast": false,
  603. "random_contrast_max_strength": 0.0,
  604. "enable_random_saturation": false,
  605. "enable_fixed_saturation": false,
  606. "random_saturation_max_strength": 0.0,
  607. "enable_random_hue": false,
  608. "enable_fixed_hue": false,
  609. "random_hue_max_strength": 0.0,
  610. "enable_resolution_override": false,
  611. "resolution_override": "512",
  612. "enable_random_circular_mask_shrink": false,
  613. "enable_random_mask_rotate_crop": false
  614. },
  615. "text": {
  616. "__version": 0,
  617. "prompt_source": "sample",
  618. "prompt_path": "",
  619. "enable_tag_shuffling": false,
  620. "tag_delimiter": ".",
  621. "keep_tags_count": 1,
  622. "tag_dropout_enable": true,
  623. "tag_dropout_mode": "RANDOM WEIGHTED",
  624. "tag_dropout_probability": 0.05,
  625. "tag_dropout_special_tags_mode": "NONE",
  626. "tag_dropout_special_tags": "",
  627. "tag_dropout_special_tags_regex": false,
  628. "caps_randomize_enable": false,
  629. "caps_randomize_mode": "capslock, title, first, random",
  630. "caps_randomize_probability": 0.0,
  631. "caps_randomize_lowercase": false
  632. },
  633. "name": "ForestBox",
  634. "path": "D:/AI storage/Datasets/ForestBox",
  635. "seed": 469278002,
  636. "enabled": false,
  637. "type": "STANDARD",
  638. "include_subdirectories": false,
  639. "image_variations": 1,
  640. "text_variations": 12,
  641. "balancing": 1.0,
  642. "balancing_strategy": "REPEATS",
  643. "loss_weight": 1.0,
  644. "concept_stats": {
  645. "file_size": 30082694,
  646. "image_count": 33,
  647. "image_with_mask_count": 0,
  648. "image_with_caption_count": 33,
  649. "video_count": 0,
  650. "video_with_mask_count": 0,
  651. "video_with_caption_count": 0,
  652. "mask_count": 0,
  653. "paired_masks": 0,
  654. "unpaired_masks": 0,
  655. "caption_count": 34,
  656. "subcaption_count": 285,
  657. "paired_captions": 33,
  658. "unpaired_captions": 1,
  659. "processing_time": 0.3637048000091454,
  660. "directory_count": 1,
  661. "max_pixels": [
  662. 12048523,
  663. "ForestBox (17).jpg",
  664. "3259w x 3697h"
  665. ],
  666. "min_pixels": [
  667. 2001515,
  668. "ForestBox (14).jpg",
  669. "1147w x 1745h"
  670. ],
  671. "avg_pixels": 4726722.303030303,
  672. "max_length": [
  673. 0,
  674. "-"
  675. ],
  676. "min_length": [
  677. 1000000000,
  678. "-"
  679. ],
  680. "avg_length": 0,
  681. "max_fps": [
  682. 0,
  683. "-"
  684. ],
  685. "min_fps": [
  686. 1000000000,
  687. "-"
  688. ],
  689. "avg_fps": 0,
  690. "max_caption_length": [
  691. 697,
  692. "ForestBox (12).jpg",
  693. 115
  694. ],
  695. "min_caption_length": [
  696. 0,
  697. "ForestBox (1).jpg",
  698. 0
  699. ],
  700. "avg_caption_length": [
  701. 221.70262052829858,
  702. 36.00674586870562
  703. ],
  704. "aspect_buckets": {
  705. "0.25": 0,
  706. "0.285714": 0,
  707. "0.333333": 0,
  708. "0.4": 0,
  709. "0.5": 0,
  710. "0.571429": 0,
  711. "0.666667": 0,
  712. "0.8": 2,
  713. "1.0": 3,
  714. "1.25": 7,
  715. "1.5": 14,
  716. "1.75": 7,
  717. "2.0": 0,
  718. "2.5": 0,
  719. "3.0": 0,
  720. "3.5": 0,
  721. "4.0": 0
  722. },
  723. "force_cancelled": false
  724. }
  725. },
  726. {
  727. "__version": 2,
  728. "image": {
  729. "__version": 0,
  730. "enable_crop_jitter": true,
  731. "enable_random_flip": false,
  732. "enable_fixed_flip": false,
  733. "enable_random_rotate": false,
  734. "enable_fixed_rotate": false,
  735. "random_rotate_max_angle": 0.0,
  736. "enable_random_brightness": false,
  737. "enable_fixed_brightness": false,
  738. "random_brightness_max_strength": 0.0,
  739. "enable_random_contrast": false,
  740. "enable_fixed_contrast": false,
  741. "random_contrast_max_strength": 0.0,
  742. "enable_random_saturation": false,
  743. "enable_fixed_saturation": false,
  744. "random_saturation_max_strength": 0.0,
  745. "enable_random_hue": false,
  746. "enable_fixed_hue": false,
  747. "random_hue_max_strength": 0.0,
  748. "enable_resolution_override": false,
  749. "resolution_override": "512",
  750. "enable_random_circular_mask_shrink": false,
  751. "enable_random_mask_rotate_crop": false
  752. },
  753. "text": {
  754. "__version": 0,
  755. "prompt_source": "sample",
  756. "prompt_path": "",
  757. "enable_tag_shuffling": false,
  758. "tag_delimiter": ".",
  759. "keep_tags_count": 1,
  760. "tag_dropout_enable": true,
  761. "tag_dropout_mode": "RANDOM WEIGHTED",
  762. "tag_dropout_probability": 0.05,
  763. "tag_dropout_special_tags_mode": "NONE",
  764. "tag_dropout_special_tags": "",
  765. "tag_dropout_special_tags_regex": false,
  766. "caps_randomize_enable": false,
  767. "caps_randomize_mode": "capslock, title, first, random",
  768. "caps_randomize_probability": 0.0,
  769. "caps_randomize_lowercase": false
  770. },
  771. "name": "748cm",
  772. "path": "D:/AI storage/Datasets/748cm",
  773. "seed": -513504915,
  774. "enabled": false,
  775. "type": "STANDARD",
  776. "include_subdirectories": false,
  777. "image_variations": 1,
  778. "text_variations": 12,
  779. "balancing": 1.0,
  780. "balancing_strategy": "REPEATS",
  781. "loss_weight": 1.0,
  782. "concept_stats": {}
  783. },
  784. {
  785. "__version": 2,
  786. "image": {
  787. "__version": 0,
  788. "enable_crop_jitter": true,
  789. "enable_random_flip": false,
  790. "enable_fixed_flip": false,
  791. "enable_random_rotate": false,
  792. "enable_fixed_rotate": false,
  793. "random_rotate_max_angle": 0.0,
  794. "enable_random_brightness": false,
  795. "enable_fixed_brightness": false,
  796. "random_brightness_max_strength": 0.0,
  797. "enable_random_contrast": false,
  798. "enable_fixed_contrast": false,
  799. "random_contrast_max_strength": 0.0,
  800. "enable_random_saturation": false,
  801. "enable_fixed_saturation": false,
  802. "random_saturation_max_strength": 0.0,
  803. "enable_random_hue": false,
  804. "enable_fixed_hue": false,
  805. "random_hue_max_strength": 0.0,
  806. "enable_resolution_override": false,
  807. "resolution_override": "512",
  808. "enable_random_circular_mask_shrink": false,
  809. "enable_random_mask_rotate_crop": false
  810. },
  811. "text": {
  812. "__version": 0,
  813. "prompt_source": "sample",
  814. "prompt_path": "",
  815. "enable_tag_shuffling": false,
  816. "tag_delimiter": ".",
  817. "keep_tags_count": 1,
  818. "tag_dropout_enable": true,
  819. "tag_dropout_mode": "RANDOM WEIGHTED",
  820. "tag_dropout_probability": 0.05,
  821. "tag_dropout_special_tags_mode": "NONE",
  822. "tag_dropout_special_tags": "",
  823. "tag_dropout_special_tags_regex": false,
  824. "caps_randomize_enable": false,
  825. "caps_randomize_mode": "capslock, title, first, random",
  826. "caps_randomize_probability": 0.0,
  827. "caps_randomize_lowercase": false
  828. },
  829. "name": "",
  830. "path": "D:/AI storage/Datasets/Haiz_ai",
  831. "seed": 759398439,
  832. "enabled": false,
  833. "type": "STANDARD",
  834. "include_subdirectories": false,
  835. "image_variations": 1,
  836. "text_variations": 12,
  837. "balancing": 1.0,
  838. "balancing_strategy": "REPEATS",
  839. "loss_weight": 1.0,
  840. "concept_stats": {}
  841. },
  842. {
  843. "__version": 2,
  844. "image": {
  845. "__version": 0,
  846. "enable_crop_jitter": true,
  847. "enable_random_flip": false,
  848. "enable_fixed_flip": false,
  849. "enable_random_rotate": false,
  850. "enable_fixed_rotate": false,
  851. "random_rotate_max_angle": 0.0,
  852. "enable_random_brightness": false,
  853. "enable_fixed_brightness": false,
  854. "random_brightness_max_strength": 0.0,
  855. "enable_random_contrast": false,
  856. "enable_fixed_contrast": false,
  857. "random_contrast_max_strength": 0.0,
  858. "enable_random_saturation": false,
  859. "enable_fixed_saturation": false,
  860. "random_saturation_max_strength": 0.0,
  861. "enable_random_hue": false,
  862. "enable_fixed_hue": false,
  863. "random_hue_max_strength": 0.0,
  864. "enable_resolution_override": false,
  865. "resolution_override": "512",
  866. "enable_random_circular_mask_shrink": false,
  867. "enable_random_mask_rotate_crop": false
  868. },
  869. "text": {
  870. "__version": 0,
  871. "prompt_source": "sample",
  872. "prompt_path": "",
  873. "enable_tag_shuffling": false,
  874. "tag_delimiter": ".",
  875. "keep_tags_count": 1,
  876. "tag_dropout_enable": true,
  877. "tag_dropout_mode": "RANDOM WEIGHTED",
  878. "tag_dropout_probability": 0.05,
  879. "tag_dropout_special_tags_mode": "NONE",
  880. "tag_dropout_special_tags": "",
  881. "tag_dropout_special_tags_regex": false,
  882. "caps_randomize_enable": false,
  883. "caps_randomize_mode": "capslock, title, first, random",
  884. "caps_randomize_probability": 0.0,
  885. "caps_randomize_lowercase": false
  886. },
  887. "name": "96yottea",
  888. "path": "D:/AI storage/Datasets/96yottea",
  889. "seed": 628934192,
  890. "enabled": true,
  891. "type": "STANDARD",
  892. "include_subdirectories": false,
  893. "image_variations": 1,
  894. "text_variations": 12,
  895. "balancing": 1.0,
  896. "balancing_strategy": "REPEATS",
  897. "loss_weight": 1.0,
  898. "concept_stats": {}
  899. }
  900. ],
  901. "aspect_ratio_bucketing": true,
  902. "latent_caching": true,
  903. "clear_cache_before_training": true,
  904. "learning_rate_scheduler": "CONSTANT",
  905. "custom_learning_rate_scheduler": null,
  906. "scheduler_params": [],
  907. "learning_rate": 1.0,
  908. "learning_rate_warmup_steps": 50.0,
  909. "learning_rate_cycles": 1.0,
  910. "learning_rate_min_factor": 0.0,
  911. "epochs": 120,
  912. "batch_size": 1,
  913. "gradient_accumulation_steps": 4,
  914. "ema": "OFF",
  915. "ema_decay": 0.999,
  916. "ema_update_step_interval": 5,
  917. "dataloader_threads": 1,
  918. "train_device": "cuda",
  919. "temp_device": "cpu",
  920. "train_dtype": "BFLOAT_16",
  921. "fallback_train_dtype": "BFLOAT_16",
  922. "enable_autocast_cache": true,
  923. "only_cache": false,
  924. "resolution": "1024",
  925. "frames": "25",
  926. "mse_strength": 1.0,
  927. "mae_strength": 0.0,
  928. "log_cosh_strength": 0.0,
  929. "huber_strength": 0.0,
  930. "huber_delta": 1.0,
  931. "vb_loss_strength": 1.0,
  932. "loss_weight_fn": "MIN_SNR_GAMMA",
  933. "loss_weight_strength": 5.0,
  934. "dropout_probability": 0.0,
  935. "loss_scaler": "NONE",
  936. "learning_rate_scaler": "NONE",
  937. "clip_grad_norm": 1.0,
  938. "offset_noise_weight": 0.0,
  939. "generalized_offset_noise": false,
  940. "perturbation_noise_weight": 0.0,
  941. "rescale_noise_scheduler_to_zero_terminal_snr": false,
  942. "force_v_prediction": false,
  943. "force_epsilon_prediction": false,
  944. "min_noising_strength": 0.0,
  945. "max_noising_strength": 1.0,
  946. "timestep_distribution": "LOGIT_NORMAL",
  947. "noising_weight": 0.0,
  948. "noising_bias": 0.0,
  949. "timestep_shift": 1.0,
  950. "dynamic_timestep_shifting": true,
  951. "progressive_timestep_distribution": false,
  952. "unet": {
  953. "__version": 0,
  954. "model_name": "",
  955. "include": true,
  956. "train": true,
  957. "stop_training_after": 0,
  958. "stop_training_after_unit": "NEVER",
  959. "learning_rate": null,
  960. "weight_dtype": "FLOAT_32",
  961. "dropout_probability": 0.0,
  962. "train_embedding": true,
  963. "attention_mask": false,
  964. "guidance_scale": 1.0
  965. },
  966. "prior": {
  967. "__version": 0,
  968. "model_name": "",
  969. "include": true,
  970. "train": true,
  971. "stop_training_after": 0,
  972. "stop_training_after_unit": "NEVER",
  973. "learning_rate": null,
  974. "weight_dtype": "FLOAT_32",
  975. "dropout_probability": 0.0,
  976. "train_embedding": true,
  977. "attention_mask": false,
  978. "guidance_scale": 1.0
  979. },
  980. "transformer": {
  981. "__version": 0,
  982. "model_name": "",
  983. "include": true,
  984. "train": true,
  985. "stop_training_after": 0,
  986. "stop_training_after_unit": "NEVER",
  987. "learning_rate": null,
  988. "weight_dtype": "BFLOAT_16",
  989. "dropout_probability": 0.0,
  990. "train_embedding": true,
  991. "attention_mask": false,
  992. "guidance_scale": 1.0
  993. },
  994. "quantization": {
  995. "__version": 0,
  996. "layer_filter": "layers",
  997. "layer_filter_preset": "blocks",
  998. "layer_filter_regex": false,
  999. "svd_dtype": "NONE",
  1000. "svd_rank": 16,
  1001. "cache_dir": "workspace-cache/run/quantization"
  1002. },
  1003. "text_encoder": {
  1004. "__version": 0,
  1005. "model_name": "",
  1006. "include": true,
  1007. "train": false,
  1008. "stop_training_after": 30,
  1009. "stop_training_after_unit": "EPOCH",
  1010. "learning_rate": null,
  1011. "weight_dtype": "FLOAT_8",
  1012. "dropout_probability": 0.0,
  1013. "train_embedding": true,
  1014. "attention_mask": false,
  1015. "guidance_scale": 1.0
  1016. },
  1017. "text_encoder_layer_skip": 0,
  1018. "text_encoder_sequence_length": 512,
  1019. "text_encoder_2": {
  1020. "__version": 0,
  1021. "model_name": "",
  1022. "include": true,
  1023. "train": true,
  1024. "stop_training_after": 30,
  1025. "stop_training_after_unit": "EPOCH",
  1026. "learning_rate": null,
  1027. "weight_dtype": "FLOAT_32",
  1028. "dropout_probability": 0.0,
  1029. "train_embedding": true,
  1030. "attention_mask": false,
  1031. "guidance_scale": 1.0
  1032. },
  1033. "text_encoder_2_layer_skip": 0,
  1034. "text_encoder_2_sequence_length": 77,
  1035. "text_encoder_3": {
  1036. "__version": 0,
  1037. "model_name": "",
  1038. "include": true,
  1039. "train": true,
  1040. "stop_training_after": 30,
  1041. "stop_training_after_unit": "EPOCH",
  1042. "learning_rate": null,
  1043. "weight_dtype": "FLOAT_32",
  1044. "dropout_probability": 0.0,
  1045. "train_embedding": true,
  1046. "attention_mask": false,
  1047. "guidance_scale": 1.0
  1048. },
  1049. "text_encoder_3_layer_skip": 0,
  1050. "text_encoder_4": {
  1051. "__version": 0,
  1052. "model_name": "",
  1053. "include": true,
  1054. "train": true,
  1055. "stop_training_after": 30,
  1056. "stop_training_after_unit": "EPOCH",
  1057. "learning_rate": null,
  1058. "weight_dtype": "FLOAT_32",
  1059. "dropout_probability": 0.0,
  1060. "train_embedding": true,
  1061. "attention_mask": false,
  1062. "guidance_scale": 1.0
  1063. },
  1064. "text_encoder_4_layer_skip": 0,
  1065. "vae": {
  1066. "__version": 0,
  1067. "model_name": "",
  1068. "include": true,
  1069. "train": true,
  1070. "stop_training_after": null,
  1071. "stop_training_after_unit": "NEVER",
  1072. "learning_rate": null,
  1073. "weight_dtype": "FLOAT_32",
  1074. "dropout_probability": 0.0,
  1075. "train_embedding": true,
  1076. "attention_mask": false,
  1077. "guidance_scale": 1.0
  1078. },
  1079. "effnet_encoder": {
  1080. "__version": 0,
  1081. "model_name": "",
  1082. "include": true,
  1083. "train": true,
  1084. "stop_training_after": null,
  1085. "stop_training_after_unit": "NEVER",
  1086. "learning_rate": null,
  1087. "weight_dtype": "FLOAT_32",
  1088. "dropout_probability": 0.0,
  1089. "train_embedding": true,
  1090. "attention_mask": false,
  1091. "guidance_scale": 1.0
  1092. },
  1093. "decoder": {
  1094. "__version": 0,
  1095. "model_name": "",
  1096. "include": true,
  1097. "train": true,
  1098. "stop_training_after": null,
  1099. "stop_training_after_unit": "NEVER",
  1100. "learning_rate": null,
  1101. "weight_dtype": "FLOAT_32",
  1102. "dropout_probability": 0.0,
  1103. "train_embedding": true,
  1104. "attention_mask": false,
  1105. "guidance_scale": 1.0
  1106. },
  1107. "decoder_text_encoder": {
  1108. "__version": 0,
  1109. "model_name": "",
  1110. "include": true,
  1111. "train": true,
  1112. "stop_training_after": null,
  1113. "stop_training_after_unit": "NEVER",
  1114. "learning_rate": null,
  1115. "weight_dtype": "FLOAT_32",
  1116. "dropout_probability": 0.0,
  1117. "train_embedding": true,
  1118. "attention_mask": false,
  1119. "guidance_scale": 1.0
  1120. },
  1121. "decoder_vqgan": {
  1122. "__version": 0,
  1123. "model_name": "",
  1124. "include": true,
  1125. "train": true,
  1126. "stop_training_after": null,
  1127. "stop_training_after_unit": "NEVER",
  1128. "learning_rate": null,
  1129. "weight_dtype": "FLOAT_32",
  1130. "dropout_probability": 0.0,
  1131. "train_embedding": true,
  1132. "attention_mask": false,
  1133. "guidance_scale": 1.0
  1134. },
  1135. "masked_training": false,
  1136. "unmasked_probability": 0.1,
  1137. "unmasked_weight": 0.1,
  1138. "normalize_masked_area_loss": false,
  1139. "masked_prior_preservation_weight": 0.0,
  1140. "custom_conditioning_image": false,
  1141. "layer_filter": "^(?=.*attention)(?!.*refiner).*,^(?=.*feed_forward)(?!.*refiner).*",
  1142. "layer_filter_preset": "attn-mlp",
  1143. "layer_filter_regex": true,
  1144. "embedding_learning_rate": null,
  1145. "preserve_embedding_norm": false,
  1146. "embedding": {
  1147. "__version": 0,
  1148. "uuid": "ae3aeb80-dfa6-485c-8cf4-609aebcbf3b5",
  1149. "model_name": "",
  1150. "placeholder": "<embedding>",
  1151. "train": true,
  1152. "stop_training_after": null,
  1153. "stop_training_after_unit": "NEVER",
  1154. "token_count": 1,
  1155. "initial_embedding_text": "*",
  1156. "is_output_embedding": false
  1157. },
  1158. "additional_embeddings": [],
  1159. "embedding_weight_dtype": "FLOAT_32",
  1160. "cloud": {
  1161. "__version": 0,
  1162. "enabled": false,
  1163. "type": "RUNPOD",
  1164. "file_sync": "NATIVE_SCP",
  1165. "create": true,
  1166. "name": "OneTrainer",
  1167. "tensorboard_tunnel": true,
  1168. "sub_type": "",
  1169. "gpu_type": "",
  1170. "volume_size": 100,
  1171. "min_download": 0,
  1172. "remote_dir": "/workspace",
  1173. "huggingface_cache_dir": "/workspace/huggingface_cache",
  1174. "onetrainer_dir": "/workspace/OneTrainer",
  1175. "install_cmd": "git clone https://github.com/Nerogar/OneTrainer",
  1176. "install_onetrainer": true,
  1177. "update_onetrainer": true,
  1178. "detach_trainer": false,
  1179. "run_id": "job1",
  1180. "download_samples": true,
  1181. "download_output_model": true,
  1182. "download_saves": true,
  1183. "download_backups": false,
  1184. "download_tensorboard": false,
  1185. "delete_workspace": false,
  1186. "on_finish": "NONE",
  1187. "on_error": "NONE",
  1188. "on_detached_finish": "NONE",
  1189. "on_detached_error": "NONE"
  1190. },
  1191. "peft_type": "LORA",
  1192. "lora_model_name": "",
  1193. "lora_rank": 64,
  1194. "lora_alpha": 64.0,
  1195. "lora_decompose": false,
  1196. "lora_decompose_norm_epsilon": true,
  1197. "lora_decompose_output_axis": false,
  1198. "lora_weight_dtype": "FLOAT_32",
  1199. "bundle_additional_embeddings": true,
  1200. "lokr_factor": 1,
  1201. "oft_block_size": 32,
  1202. "oft_coft": false,
  1203. "coft_eps": 0.0001,
  1204. "oft_block_share": false,
  1205. "optimizer": {
  1206. "__version": 0,
  1207. "optimizer": "PRODIGY_ADV",
  1208. "adam_w_mode": false,
  1209. "alpha": 5.0,
  1210. "amsgrad": false,
  1211. "beta1": 0.9,
  1212. "beta2": 0.99,
  1213. "beta3": null,
  1214. "bias_correction": false,
  1215. "block_wise": false,
  1216. "capturable": false,
  1217. "centered": false,
  1218. "clip_threshold": null,
  1219. "d0": 1e-06,
  1220. "d_coef": 1.0,
  1221. "dampening": null,
  1222. "decay_rate": null,
  1223. "decouple": false,
  1224. "differentiable": false,
  1225. "eps": 1e-08,
  1226. "eps2": null,
  1227. "foreach": false,
  1228. "fsdp_in_use": false,
  1229. "fused": false,
  1230. "fused_back_pass": false,
  1231. "growth_rate": "inf",
  1232. "initial_accumulator_value": null,
  1233. "initial_accumulator": null,
  1234. "is_paged": false,
  1235. "log_every": null,
  1236. "lr_decay": null,
  1237. "max_unorm": null,
  1238. "maximize": false,
  1239. "min_8bit_size": null,
  1240. "quant_block_size": null,
  1241. "momentum": null,
  1242. "nesterov": false,
  1243. "no_prox": false,
  1244. "optim_bits": null,
  1245. "percentile_clipping": null,
  1246. "r": null,
  1247. "relative_step": false,
  1248. "safeguard_warmup": false,
  1249. "scale_parameter": false,
  1250. "stochastic_rounding": true,
  1251. "use_bias_correction": false,
  1252. "use_triton": false,
  1253. "warmup_init": false,
  1254. "weight_decay": 0.0,
  1255. "weight_lr_power": null,
  1256. "decoupled_decay": false,
  1257. "fixed_decay": false,
  1258. "rectify": false,
  1259. "degenerated_to_sgd": false,
  1260. "k": null,
  1261. "xi": null,
  1262. "n_sma_threshold": null,
  1263. "ams_bound": false,
  1264. "adanorm": false,
  1265. "adam_debias": false,
  1266. "slice_p": 11,
  1267. "cautious": false,
  1268. "weight_decay_by_lr": true,
  1269. "prodigy_steps": 0,
  1270. "use_speed": false,
  1271. "split_groups": true,
  1272. "split_groups_mean": true,
  1273. "factored": true,
  1274. "factored_fp32": true,
  1275. "use_stableadamw": true,
  1276. "use_cautious": false,
  1277. "use_grams": false,
  1278. "use_adopt": false,
  1279. "d_limiter": false,
  1280. "use_schedulefree": true,
  1281. "use_orthograd": false,
  1282. "nnmf_factor": false,
  1283. "orthogonal_gradient": false,
  1284. "use_atan2": false,
  1285. "use_AdEMAMix": false,
  1286. "beta3_ema": 0.9999,
  1287. "alpha_grad": 100.0,
  1288. "beta1_warmup": null,
  1289. "min_beta1": null,
  1290. "Simplified_AdEMAMix": false,
  1291. "cautious_mask": false,
  1292. "grams_moment": false,
  1293. "kourkoutas_beta": false,
  1294. "k_warmup_steps": null,
  1295. "schedulefree_c": null,
  1296. "ns_steps": null,
  1297. "MuonWithAuxAdam": false,
  1298. "muon_hidden_layers": null,
  1299. "muon_adam_regex": false,
  1300. "muon_adam_lr": null,
  1301. "muon_te1_adam_lr": null,
  1302. "muon_te2_adam_lr": null,
  1303. "muon_adam_config": null,
  1304. "rms_rescaling": true,
  1305. "normuon_variant": false,
  1306. "beta2_normuon": null,
  1307. "normuon_eps": null,
  1308. "low_rank_ortho": false,
  1309. "ortho_rank": null,
  1310. "accelerated_ns": false,
  1311. "cautious_wd": false,
  1312. "approx_mars": false,
  1313. "kappa_p": null,
  1314. "auto_kappa_p": false,
  1315. "compile": false,
  1316. "allora": true,
  1317. "eta": null,
  1318. "orthograd": false,
  1319. "sinkgd_iters": null,
  1320. "min_lr": null,
  1321. "max_lr": null,
  1322. "lr_bump": null,
  1323. "use_kahan": true
  1324. },
  1325. "optimizer_defaults": {},
  1326. "sample_definition_file_name": "training_samples/samples.json",
  1327. "samples": [
  1328. {
  1329. "__version": 0,
  1330. "enabled": true,
  1331. "prompt": "HaizAI. a digital illustration of a close-up overhead shot of a woman lying down, surrounded by dense clusters of bright blue hydrangea flowers and dark green leaves. Her head is centered in the frame, with her face angled slightly upward toward the camera, eyes open and looking directly forward. She has short brown hair with blunt bangs. She wears a tight-fitting white sleeveless crop top that ends just below her ribcage. Her right hand rests flat over her chest, fingers slightly spread. The lighting is hard, with large contrasts between light and shadow, coming from the upper left. The background consists entirely of blue flowers and dark foliage, creating a high-contrast backdrop. The composition follows the rule of thirds: her eyes are positioned near the upper horizontal third line, and her body extends down toward the lower third. Leading lines from the flower clusters on either side converge subtly toward her face. The camera angle is directly overhead, like a bird\u2019s-eye view. ",
  1332. "negative_prompt": "",
  1333. "height": 1024,
  1334. "width": 1024,
  1335. "frames": 1,
  1336. "length": 10.0,
  1337. "seed": 42,
  1338. "random_seed": false,
  1339. "diffusion_steps": 20,
  1340. "cfg_scale": 7.0,
  1341. "noise_scheduler": "DDIM",
  1342. "text_encoder_1_layer_skip": 0,
  1343. "text_encoder_1_sequence_length": null,
  1344. "text_encoder_2_layer_skip": 0,
  1345. "text_encoder_2_sequence_length": null,
  1346. "text_encoder_3_layer_skip": 0,
  1347. "text_encoder_4_layer_skip": 0,
  1348. "transformer_attention_mask": false,
  1349. "force_last_timestep": false,
  1350. "sample_inpainting": false,
  1351. "base_image_path": "",
  1352. "mask_image_path": "",
  1353. "use_meancache": false,
  1354. "meancache_preset": "balanced"
  1355. }
  1356. ],
  1357. "sample_after": 5,
  1358. "sample_after_unit": "EPOCH",
  1359. "sample_skip_first": 0,
  1360. "sample_image_format": "JPG",
  1361. "sample_video_format": "MP4",
  1362. "sample_audio_format": "MP3",
  1363. "samples_to_tensorboard": true,
  1364. "non_ema_sampling": true,
  1365. "backup_after": 5,
  1366. "backup_after_unit": "EPOCH",
  1367. "rolling_backup": false,
  1368. "rolling_backup_count": 3,
  1369. "backup_before_save": true,
  1370. "save_every": 1,
  1371. "save_every_unit": "EPOCH",
  1372. "save_skip_first": 0,
  1373. "save_filename_prefix": ""
  1374. }
Advertisement
Add Comment
Please, Sign In to add comment