download_ltx23sample_to_local

#3
training-scripts/aitoolkit/ideogram4_template.yaml DELETED
@@ -1,640 +0,0 @@
1
- ---
2
- job: "extension"
3
- config:
4
- name: "ideogram4_[dataset_name]_v1"
5
- process:
6
- - type: "diffusion_trainer"
7
- training_folder: "c:\\Development\\ai-toolkit\\output"
8
- sqlite_db_path: "./aitk_db.db"
9
- device: "cuda"
10
- trigger_word: "sks woman"
11
- performance_log_every: 10
12
- network:
13
- type: "lora"
14
- linear: 32
15
- linear_alpha: 32
16
- lokr_full_rank: true
17
- lokr_factor: -1
18
- network_kwargs:
19
- ignore_if_contains: []
20
- save:
21
- dtype: "bf16"
22
- save_every: 500
23
- max_step_saves_to_keep: 5
24
- save_format: "diffusers"
25
- push_to_hub: false
26
- datasets:
27
- - folder_path: "c:\\Development\\ai-toolkit\\datasets/[dataset_name]"
28
- mask_path: null
29
- mask_min_value: 0.1
30
- default_caption: ""
31
- caption_ext: "txt"
32
- caption_dropout_rate: 0.05
33
- cache_latents_to_disk: true
34
- is_reg: false
35
- network_weight: 1
36
- resolution:
37
- - 512
38
- controls: []
39
- shrink_video_to_frames: true
40
- num_frames: 1
41
- flip_x: false
42
- flip_y: false
43
- num_repeats: 1
44
- train:
45
- batch_size: 1
46
- bypass_guidance_embedding: false
47
- steps: 2300
48
- gradient_accumulation: 1
49
- train_unet: true
50
- train_text_encoder: false
51
- gradient_checkpointing: true
52
- noise_scheduler: "flowmatch"
53
- optimizer: "adamw8bit"
54
- timestep_type: "linear"
55
- content_or_style: "balanced"
56
- optimizer_params:
57
- weight_decay: 0.0001
58
- unload_text_encoder: false
59
- cache_text_embeddings: false
60
- lr: 0.0001
61
- ema_config:
62
- use_ema: false
63
- ema_decay: 0.99
64
- skip_first_sample: true
65
- force_first_sample: false
66
- disable_sampling: true
67
- dtype: "bf16"
68
- diff_output_preservation: false
69
- diff_output_preservation_multiplier: 1
70
- diff_output_preservation_class: "person"
71
- switch_boundary_every: 1
72
- loss_type: "mse"
73
- logging:
74
- log_every: 1
75
- use_ui_logger: true
76
- model:
77
- name_or_path: "ideogram-ai/ideogram-4-fp8"
78
- quantize: true
79
- qtype: "qfloat8"
80
- quantize_te: true
81
- qtype_te: "qfloat8"
82
- arch: "ideogram4"
83
- low_vram: true
84
- model_kwargs: {}
85
- compile: false
86
- layer_offloading: false
87
- layer_offloading_text_encoder_percent: 1
88
- layer_offloading_transformer_percent: 1
89
- sample:
90
- sampler: "flowmatch"
91
- sample_every: 500
92
- width: 1024
93
- height: 1024
94
- samples:
95
- - prompt: |
96
-
97
- {
98
- "high_level_description": "A 35mm film photograph of a red-haired woman in a green jacket playing chess at an outdoor park table, mid-move over a wooden board, while a fiery explosion erupts from a building in the distant background.",
99
- "style_description": {
100
- "aesthetics": "Cinematic, tense, candid realism.",
101
- "lighting": "Overcast afternoon daylight, soft and low-contrast, cool-neutral white balance.",
102
- "photo": "35mm film still, subtle grain, natural depth of field.",
103
- "medium": "Photograph.",
104
- "color_palette": ["#8C9B82", "#B7402A", "#5A5F57", "#9AA7AE", "#D98A3D"]
105
- },
106
- "compositional_deconstruction": {
107
- "background": "An urban public park on an overcast afternoon under a pale grey-blue sky, cool-neutral white balance. A grassy lawn with scattered fallen leaves stretches behind the foreground table, bordered by a paved walking path and a row of bare-branched trees. In the far distance, a multi-story stone building erupts in a large orange-and-yellow fireball with a thick black smoke plume rising and rolling outward, sending a faint haze across the upper sky. The blast is out of focus and far off, framed between the tree trunks.",
108
- "elements": [
109
- {
110
- "type": "obj",
111
- "bbox": [
112
- 180,
113
- 90,
114
- 760,
115
- 520
116
- ],
117
- "desc": "Woman seated at a park chess table, leaning slightly forward mid-move. Long wavy red hair falling past her shoulders, fair skin with light freckles, focused expression looking down at the board. Olive-green canvas jacket over a cream knit top, dark jeans. Right hand reaching toward a chess piece, left hand resting on the table edge."
118
- },
119
- {
120
- "type": "obj",
121
- "bbox": [
122
- 520,
123
- 300,
124
- 830,
125
- 720
126
- ],
127
- "desc": "Square wooden chessboard on a round concrete park table, set with a full arrangement of carved boxwood chess pieces in natural and dark-stained wood. A few captured pieces sit off to the side near the board's right edge, one black knight tipped on its side."
128
- },
129
- {
130
- "type": "obj",
131
- "bbox": [
132
- 300,
133
- 540,
134
- 720,
135
- 760
136
- ],
137
- "desc": "Empty green-painted metal park chair with a slatted backrest on the far side of the chess table, facing the woman, slightly angled to the right."
138
- }
139
- ]
140
- }
141
- }
142
- - prompt: |
143
-
144
- {
145
- "high_level_description": "A 35mm film photograph of a woman in a grey beanie holding a coffee cup while sitting at a wooden cafe table by a window, with a blurred cafe interior behind her.",
146
- "style_description": {
147
- "aesthetics": "Cozy, relaxed, intimate.",
148
- "lighting": "Soft diffused window daylight, cool-neutral white balance, low contrast.",
149
- "photo": "35mm film still, shallow depth of field, subtle grain.",
150
- "medium": "Photograph.",
151
- "color_palette": ["#9A5A3E", "#E0D2BA", "#7C7872", "#B07C45", "#33312D"]
152
- },
153
- "compositional_deconstruction": {
154
- "background": "Interior of a small cafe shot in natural daylight with cool-neutral white balance. A large window occupies the left portion of the frame, soft diffused daylight falling across the scene. Exposed brick wall in warm reddish-brown tones runs along the back, partly out of focus. A wooden shelf mounted on the back wall holds a row of white ceramic mugs and a small potted trailing plant. Pendant lights with matte black shades hang from the ceiling, slightly blurred. The floor is wide-plank weathered oak. Distant blurred tables and chairs recede into the soft-focus background on the right side.",
155
- "elements": [
156
- {
157
- "type": "obj",
158
- "bbox": [
159
- 180,
160
- 300,
161
- 820,
162
- 720
163
- ],
164
- "desc": "Woman sitting at a cafe table, facing slightly left toward the window. Light-medium skin tone, shoulder-length wavy auburn hair tucked under a ribbed grey wool beanie. Wearing a cream chunky-knit sweater with sleeves pushed to the forearms. Both hands wrapped around a coffee cup held near chest height, relaxed half-smile, gaze directed out the window."
165
- },
166
- {
167
- "type": "obj",
168
- "bbox": [
169
- 460,
170
- 400,
171
- 640,
172
- 580
173
- ],
174
- "desc": "White ceramic cappuccino cup with a thin handle, held in the woman's hands near chest height. Pale foam visible at the rim with a simple leaf latte-art pattern."
175
- },
176
- {
177
- "type": "obj",
178
- "bbox": [
179
- 700,
180
- 140,
181
- 1000,
182
- 900
183
- ],
184
- "desc": "Rectangular wooden cafe table in warm honey-toned oak, occupying the lower foreground. Visible grain along the surface, one rounded corner facing the camera."
185
- },
186
- {
187
- "type": "obj",
188
- "bbox": [
189
- 760,
190
- 180,
191
- 940,
192
- 420
193
- ],
194
- "desc": "Small folded paper menu card standing upright on the table to the lower left, plain off-white stock with a thin printed border."
195
- },
196
- {
197
- "type": "text",
198
- "bbox": [
199
- 800,
200
- 210,
201
- 910,
202
- 400
203
- ],
204
- "text": "MENU",
205
- "desc": "Single word in small upright serif capitals, dark grey ink, centered on the front of the folded paper menu card on the table."
206
- }
207
- ]
208
- }
209
- }
210
- - prompt: |
211
-
212
- {
213
- "high_level_description": "A fish-eye lens photograph of a horse DJing behind turntables at a packed night club, holding a martini glass, surrounded by laser lights and drifting smoke-machine haze on a glowing dance floor.",
214
- "style_description": {
215
- "aesthetics": "High-energy, surreal, neon nightlife.",
216
- "lighting": "Dim club lighting with magenta and cyan washes and crisscrossing green and magenta laser beams cutting through haze.",
217
- "photo": "Fish-eye lens with strong barrel distortion, deep shadow contrast.",
218
- "medium": "Photograph.",
219
- "color_palette": ["#0B0B12", "#D81E8F", "#1FB6C9", "#37C46A", "#6A4A2E"]
220
- },
221
- "compositional_deconstruction": {
222
- "background": "Interior of a dark night club shot through a fish-eye lens with strong barrel distortion bowing the edges of the frame. Black walls and low ceiling studded with mounted laser-light fixtures throwing crisscrossing green and magenta beams that cut through thick drifting haze from a smoke machine. Ambient lighting is dim with cool magenta and cyan washes pooling across a glossy black dance floor that reflects fragmented colored beams. A blurred simplified crowd of clubgoers fills the mid-distance, hands raised, rendered as dark silhouettes against the colored glow.",
223
- "elements": [
224
- {
225
- "type": "obj",
226
- "bbox": [
227
- 120,
228
- 250,
229
- 720,
230
- 760
231
- ],
232
- "desc": "A brown horse standing upright behind a DJ booth in the role of a club DJ, head and long muzzle tilted slightly down toward the equipment, dark mane falling along the neck, alert ears pricked forward. One front hoof rests on a turntable while the other holds aloft a martini glass. Wears large black over-ear headphones around the neck and ears."
233
- },
234
- {
235
- "type": "obj",
236
- "bbox": [
237
- 600,
238
- 180,
239
- 860,
240
- 840
241
- ],
242
- "desc": "A black DJ booth console spanning the lower foreground, fitted with two silver turntables flanking a central mixer with glowing knobs, faders and small green and red LED indicators. Front panel faces the viewer, exaggerated and curved by the fish-eye distortion."
243
- },
244
- {
245
- "type": "obj",
246
- "bbox": [
247
- 300,
248
- 560,
249
- 470,
250
- 690
251
- ],
252
- "desc": "A clear martini glass with a thin stem held aloft, containing pale yellow liquid and a single green olive on a cocktail pick, catching small highlights from the colored club lighting."
253
- },
254
- {
255
- "type": "text",
256
- "bbox": [
257
- 640,
258
- 360,
259
- 720,
260
- 640
261
- ],
262
- "text": "NEON\nSTABLE",
263
- "desc": "Illuminated club logo on the front face of the DJ booth in a bold sans-serif display typeface, glowing magenta, slightly warped by the fish-eye curvature."
264
- }
265
- ]
266
- }
267
- }
268
- - prompt: |
269
-
270
- {
271
- "high_level_description": "A 35mm film photograph of a smiling man proudly showing off his graphic t-shirt on a sandy beach, with a great white shark leaping out of the ocean in the background.",
272
- "style_description": {
273
- "aesthetics": "Bright, playful, candid.",
274
- "lighting": "Bright overcast daylight, soft and shadowless, cool-neutral white balance.",
275
- "photo": "35mm film still, natural depth of field, subtle grain.",
276
- "medium": "Photograph.",
277
- "color_palette": ["#C9B68C", "#2E6B7A", "#9FB7BE", "#1B3A5C", "#E7E2D6"]
278
- },
279
- "compositional_deconstruction": {
280
- "background": "Sandy beach scene under a bright overcast sky with cool-neutral white balance. Pale tan sand stretches across the lower portion, slightly damp and packed near the waterline with scattered footprints. Behind the man, the open ocean fills the midground, deep blue-green with choppy whitecaps and rolling waves breaking toward the shore. The horizon line sits high in the frame where the sea meets a hazy pale sky with thin diffuse clouds. Soft even daylight, no harsh shadows, accurate natural color.",
281
- "elements": [
282
- {
283
- "type": "obj",
284
- "bbox": [
285
- 180,
286
- 540,
287
- 720,
288
- 860
289
- ],
290
- "desc": "Great white shark mid-leap, fully breaching the ocean surface in the background, body angled diagonally with mouth open and rows of teeth visible. Grey dorsal surface, white underbelly, water cascading and spraying off its body. Smaller in scale due to distance behind the man."
291
- },
292
- {
293
- "type": "obj",
294
- "bbox": [
295
- 150,
296
- 260,
297
- 950,
298
- 640
299
- ],
300
- "desc": "Man standing on the beach facing the camera, medium-tall build, light-medium skin tone, short brown hair. Grinning widely with a proud expression, gripping the hem of his t-shirt with both hands and pulling it outward to display the front print. Wearing teal swim shorts. Slightly off-center to the left."
301
- },
302
- {
303
- "type": "text",
304
- "bbox": [
305
- 360,
306
- 330,
307
- 540,
308
- 560
309
- ],
310
- "text": "BEACH\nVIBES",
311
- "desc": "Bold sans-serif print across the chest of the man's white t-shirt, stacked on two lines in navy blue, slightly curved with the fabric as he stretches it toward the camera."
312
- }
313
- ]
314
- }
315
- }
316
- - prompt: |
317
-
318
- {
319
- "high_level_description": "A brown grizzly bear standing upright on its hind legs, lifting a wooden log onto a half-built log cabin in a snow-covered mountain clearing, with snowy pine forest and peaks behind, rendered as a 35mm film photograph.",
320
- "style_description": {
321
- "aesthetics": "Serene, rugged, wintry.",
322
- "lighting": "Pale overcast winter daylight, even and shadowless, cool-neutral white balance.",
323
- "photo": "35mm film still, subtle grain, soft natural focus.",
324
- "medium": "Photograph.",
325
- "color_palette": ["#E8EDF0", "#6B4A30", "#3C5240", "#9AA6AD", "#C8A877"]
326
- },
327
- "compositional_deconstruction": {
328
- "background": "Snow-covered alpine clearing under a pale overcast winter sky with soft diffused daylight and cool-neutral white balance. Thick fresh snow blankets the ground, undisturbed except around the build site. A dense forest of snow-laden evergreen pines fills the midground, their branches drooping under powder. Jagged grey-and-white granite mountain peaks rise across the distant horizon, partly veiled in light haze. Faint snowflakes drift through the air. The light is even and shadowless across the scene.",
329
- "elements": [
330
- {
331
- "type": "obj",
332
- "bbox": [
333
- 180,
334
- 120,
335
- 760,
336
- 560
337
- ],
338
- "desc": "Large brown grizzly bear standing upright on its hind legs, thick shaggy fur with darker brown legs and a lighter tan muzzle. Front paws gripping a debarked pine log, raising it toward the cabin wall. Head turned in profile, small rounded ears, focused expression, breath fogging in the cold air."
339
- },
340
- {
341
- "type": "obj",
342
- "bbox": [
343
- 480,
344
- 520,
345
- 880,
346
- 940
347
- ],
348
- "desc": "Half-built log cabin made of stacked horizontal debarked pine logs notched and interlocked at the corners. Roughly four log courses high with an open doorway gap on the front face, snow dusting the topmost logs and a small pile of unused logs leaning against the right wall."
349
- },
350
- {
351
- "type": "obj",
352
- "bbox": [
353
- 700,
354
- 60,
355
- 880,
356
- 320
357
- ],
358
- "desc": "Loose stack of cut pine logs lying on the snowy ground in the lower-left foreground, debarked pale tan wood with sawn ends, partially dusted with fresh snow, ready for building."
359
- },
360
- {
361
- "type": "obj",
362
- "bbox": [
363
- 600,
364
- 400,
365
- 760,
366
- 520
367
- ],
368
- "desc": "Rusted double-bit felling axe with a worn wooden handle stuck blade-first into a flat-topped tree stump near the bear's feet, snow gathered on the stump's top surface."
369
- }
370
- ]
371
- }
372
- }
373
- - prompt: |
374
-
375
- {
376
- "high_level_description": "A punk rocker woman mid-performance on a concert stage, playing an electric guitar and singing into a microphone, with laser lights cutting through haze in a 35mm concert photograph.",
377
- "style_description": {
378
- "aesthetics": "Gritty, energetic, high-contrast.",
379
- "lighting": "Dark stage lit by green and magenta laser beams through haze, deep shadow contrast, cool-neutral white balance.",
380
- "photo": "35mm concert photograph, subtle grain, deep contrast.",
381
- "medium": "Photograph.",
382
- "color_palette": ["#0C0C10", "#37C46A", "#D81E8F", "#C9C9C9", "#5A4633"]
383
- },
384
- "compositional_deconstruction": {
385
- "background": "A dark concert stage shell with a black back wall and exposed steel truss rigging overhead holding stage fixtures. Green and magenta laser beams fan out across the upper space, cutting through a light haze that fills the air and scatters the beams into visible shafts. The stage floor is matte black with scuffed gaffer-tape marks. Distant blurred crowd silhouettes fill the lower foreground edge, lit faintly by stage spill. 35mm concert photograph with cool-neutral white balance and deep shadow contrast.",
386
- "elements": [
387
- {
388
- "type": "obj",
389
- "bbox": [
390
- 180,
391
- 280,
392
- 860,
393
- 720
394
- ],
395
- "desc": "Punk rocker woman standing center stage mid-song, pale skin, spiked bleached-blonde hair with shaved sides, dark smudged eyeliner, mouth open singing with intense expression. Black sleeveless band tee, studded leather choker, ripped black skinny jeans, fingerless gloves. Right hand strumming, left hand on the fretboard, body leaning forward toward the mic."
396
- },
397
- {
398
- "type": "obj",
399
- "bbox": [
400
- 420,
401
- 200,
402
- 820,
403
- 560
404
- ],
405
- "desc": "Black electric guitar with a glossy solid body, white pickguard, chrome hardware and visible strings, slung low across the woman's torso on a studded leather strap, neck angled up toward the upper left."
406
- },
407
- {
408
- "type": "obj",
409
- "bbox": [
410
- 300,
411
- 560,
412
- 520,
413
- 660
414
- ],
415
- "desc": "Black wired stage microphone on a slim chrome boom stand, positioned directly in front of the woman's open mouth, mesh head catching a small highlight from the stage light."
416
- },
417
- {
418
- "type": "obj",
419
- "bbox": [
420
- 760,
421
- 40,
422
- 980,
423
- 300
424
- ],
425
- "desc": "Black foldback stage monitor wedge angled up toward the performer, sitting on the front edge of the stage floor, scuffed casing with a metal grille front."
426
- },
427
- {
428
- "type": "text",
429
- "bbox": [
430
- 600,
431
- 720,
432
- 720,
433
- 940
434
- ],
435
- "text": "RIOT",
436
- "desc": "Bold uppercase condensed sans-serif band logo in white spray-paint style stenciled across the front of the black speaker stack at lower right, slightly distressed edges."
437
- }
438
- ]
439
- }
440
- }
441
- - prompt: |
442
-
443
- {
444
- "high_level_description": "A 35mm film photograph of a bearded hipster man assembling a wooden chair on a workbench in a cluttered woodworking shop, surrounded by hand tools and lumber.",
445
- "style_description": {
446
- "aesthetics": "Rustic, focused, artisanal.",
447
- "lighting": "Diffused overcast daylight from a high window, cool-neutral white balance, low contrast.",
448
- "photo": "35mm film still, subtle grain, natural depth of field.",
449
- "medium": "Photograph.",
450
- "color_palette": ["#8A5A3C", "#6E4327", "#9A9488", "#4A5340", "#C7B299"]
451
- },
452
- "compositional_deconstruction": {
453
- "background": "Interior of a small woodworking workshop with weathered exposed-brick walls on the left and unfinished plywood-panel walls on the right. Sawdust-dusted concrete floor. A pegboard mounted on the rear wall holds rows of hanging hand tools. A single industrial window high on the left wall lets in diffused overcast daylight with a cool-neutral white balance. Fine sawdust haze drifts in the air. Coils of wood shavings and scattered offcuts rest near the wall base. Shot on 35mm film.",
454
- "elements": [
455
- {
456
- "type": "obj",
457
- "bbox": [
458
- 150,
459
- 300,
460
- 720,
461
- 680
462
- ],
463
- "desc": "Bearded hipster man in his mid-thirties, medium-fair skin, full reddish-brown beard and short slicked-back dark hair. Wearing a rolled-sleeve olive flannel shirt, brown leather apron, and dark jeans. Leaning forward over the bench, both hands gripping a wooden chair leg, focused downward expression."
464
- },
465
- {
466
- "type": "obj",
467
- "bbox": [
468
- 420,
469
- 250,
470
- 820,
471
- 760
472
- ],
473
- "desc": "Partially assembled wooden chair made of light oak, seat and two back slats attached, one rear leg detached and held in the man's hands. Raw unfinished surface with visible grain, clamped at one joint with a small metal bar clamp."
474
- },
475
- {
476
- "type": "obj",
477
- "bbox": [
478
- 600,
479
- 80,
480
- 900,
481
- 920
482
- ],
483
- "desc": "Heavy wooden workbench with a thick scarred top, vise mounted on the front-left edge. Surface cluttered with a hand plane, two chisels, a wooden mallet, and a coiled tape measure scattered across the right side."
484
- },
485
- {
486
- "type": "obj",
487
- "bbox": [
488
- 640,
489
- 40,
490
- 860,
491
- 200
492
- ],
493
- "desc": "Cordless drill resting on its side on the bench top near the front-left corner, black and orange body with a chuck-mounted bit."
494
- },
495
- {
496
- "type": "text",
497
- "bbox": [
498
- 700,
499
- 520,
500
- 760,
501
- 700
502
- ],
503
- "text": "OAKWELL\nWORKS",
504
- "desc": "Small stamped logo branded into the leather apron's chest panel, two stacked lines in a condensed serif font, dark burnt-brown tone on tan leather."
505
- }
506
- ]
507
- }
508
- }
509
- - prompt: |
510
-
511
- {
512
- "high_level_description": "A studio fashion photograph of a man in a medium shot modeling a casual outfit against a seamless white backdrop, lit with even studio lighting.",
513
- "style_description": {
514
- "aesthetics": "Clean, minimal, editorial.",
515
- "lighting": "Even diffused studio softbox lighting, neutral white balance, shadowless.",
516
- "photo": "Studio fashion photograph, sharp focus, seamless white cyclorama.",
517
- "medium": "Photograph.",
518
- "color_palette": ["#F2F2F0", "#9A9CA0", "#2A2F3C", "#5B5E66", "#D8D8D6"]
519
- },
520
- "compositional_deconstruction": {
521
- "background": "Seamless white studio backdrop, smoothly lit with even diffused studio lighting from soft boxes on both sides, producing a clean bright cyclorama with no visible seams, corners, or shadows behind the subject. Neutral white balance.",
522
- "elements": [
523
- {
524
- "type": "obj",
525
- "bbox": [
526
- 80,
527
- 300,
528
- 950,
529
- 720
530
- ],
531
- "desc": "Man standing in a medium shot, facing the camera at a slight three-quarter angle. Short dark brown hair neatly styled, light-medium skin tone, clean-shaven, calm neutral expression with a soft closed-mouth look directed at the camera. Wears a fitted heather-grey crewneck t-shirt and dark navy slim chino trousers. Arms relaxed at his sides, shoulders squared. Off-center to the left following rule-of-thirds framing."
532
- }
533
- ]
534
- }
535
- }
536
- - prompt: |
537
-
538
- {
539
- "high_level_description": "A 35mm film photograph of a man standing on a city sidewalk holding a white cardboard sign reading 'this is a sign', shot at eye-level with neutral daylight.",
540
- "style_description": {
541
- "aesthetics": "Plain, candid, documentary.",
542
- "lighting": "Overcast daylight, soft and even, cool-neutral white balance.",
543
- "photo": "35mm film still, eye-level, subtle grain.",
544
- "medium": "Photograph.",
545
- "color_palette": ["#9AA0A4", "#7C4A38", "#3A3D44", "#1E3A66", "#E8E6E0"]
546
- },
547
- "compositional_deconstruction": {
548
- "background": "An urban sidewalk scene under overcast daylight with cool-neutral white balance. A grey concrete pavement runs along the bottom, bordered by the brick facade of a low storefront building with large plate-glass windows. A few out-of-focus pedestrians and a parked dark sedan sit in the blurred mid-distance. Pale grey sky visible above the rooflines.",
549
- "elements": [
550
- {
551
- "type": "obj",
552
- "bbox": [
553
- 180,
554
- 330,
555
- 880,
556
- 680
557
- ],
558
- "desc": "Man standing facing the camera, medium build, light skin tone, short brown hair and a trimmed beard. Wearing a charcoal-grey crew-neck shirt and dark blue jeans, relaxed neutral expression looking toward the lens. Both hands raised at chest height gripping the top edge of a cardboard sign held in front of his torso."
559
- },
560
- {
561
- "type": "obj",
562
- "bbox": [
563
- 400,
564
- 360,
565
- 640,
566
- 660
567
- ],
568
- "desc": "Rectangular white cardboard sign with slightly worn edges, held upright in front of the man's chest, plain matte surface with hand-written black marker lettering across the center."
569
- },
570
- {
571
- "type": "text",
572
- "bbox": [
573
- 460,
574
- 380,
575
- 580,
576
- 640
577
- ],
578
- "text": "this is a sign",
579
- "desc": "Hand-written black marker lettering in a casual sans-serif lowercase style, single line centered across the white cardboard sign."
580
- }
581
- ]
582
- }
583
- }
584
- - prompt: |
585
-
586
- {
587
- "high_level_description": "A 35mm film photograph of a muscular bulldog in a worn leather jacket standing beside a battered motorcycle in a post-apocalyptic desert, gripping a sawed-off shotgun, with a hazy ruined skyline on the horizon.",
588
- "style_description": {
589
- "aesthetics": "Rugged, cinematic, post-apocalyptic.",
590
- "lighting": "Pale dust-choked daylight softened by airborne grit, cool-neutral white balance, low contrast.",
591
- "photo": "35mm film still, subtle grain, hazy distance.",
592
- "medium": "Photograph.",
593
- "color_palette": ["#C2A878", "#6B4A2E", "#3A352E", "#9A8A6C", "#B5562A"]
594
- },
595
- "compositional_deconstruction": {
596
- "background": "A sun-scorched post-apocalyptic desert under a pale dust-choked sky, cool-neutral white balance with a thin haze of airborne grit softening the light. Cracked sandy hardpan stretches to a distant horizon where the silhouettes of half-collapsed buildings, a leaning radio tower, and rusted girders rise out of the heat shimmer. Scattered scrub brush and faint tire tracks mark the packed dirt, and a thin band of overcast cloud sits low over the ruined skyline.",
597
- "elements": [
598
- {
599
- "type": "obj",
600
- "bbox": [
601
- 280,
602
- 330,
603
- 820,
604
- 720
605
- ],
606
- "desc": "Muscular English bulldog standing upright on its hind legs in a confident pose, fawn-and-white coat, broad wrinkled face with an underbite and alert dark eyes. Wears a scuffed brown leather biker jacket with a popped collar, frayed cuffs, and a worn metal zipper. Front paws grip a sawed-off double-barrel shotgun held across the chest."
607
- },
608
- {
609
- "type": "obj",
610
- "bbox": [
611
- 480,
612
- 40,
613
- 880,
614
- 420
615
- ],
616
- "desc": "Battered chopper-style motorcycle parked at an angle just left of the bulldog, matte-black fuel tank with chipped paint, rusted chrome exhaust pipes, cracked leather seat, and dusty spoked wheels. Handlebars wrapped in worn tape, a small dented headlamp at the front."
617
- },
618
- {
619
- "type": "obj",
620
- "bbox": [
621
- 760,
622
- 300,
623
- 900,
624
- 760
625
- ],
626
- "desc": "Scattered debris on the desert floor in front of the bulldog: a crushed metal fuel can, a few spent brass shotgun shells, and a broken length of rusted pipe half-buried in the sand."
627
- }
628
- ]
629
- }
630
- }
631
- neg: ""
632
- seed: 42
633
- walk_seed: true
634
- guidance_scale: 4
635
- sample_steps: 30
636
- num_frames: 1
637
- fps: 1
638
- meta:
639
- name: "[name]"
640
- version: "1.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
training-scripts/aitoolkit/zonetrainer_template.yaml DELETED
@@ -1,110 +0,0 @@
1
- ---
2
- job: "extension"
3
- config:
4
- name: "zonetrainer_[dataset_name]_v1"
5
- process:
6
- - type: "diffusion_trainer"
7
- training_folder: "c:\\Development\\ai-toolkit\\output"
8
- sqlite_db_path: "./aitk_db.db"
9
- device: "cuda"
10
- trigger_word: "sks woman"
11
- performance_log_every: 10
12
- network:
13
- type: "lora"
14
- linear: 16
15
- linear_alpha: 1
16
- conv: 16
17
- conv_alpha: 1
18
- lokr_full_rank: true
19
- lokr_factor: -1
20
- network_kwargs:
21
- ignore_if_contains: []
22
- save:
23
- dtype: "bf16"
24
- save_every: 2500
25
- max_step_saves_to_keep: 8
26
- save_format: "safetensors"
27
- push_to_hub: false
28
- datasets:
29
- - folder_path: "c:\\Development\\ai-toolkit\\datasets/[dataset_name]"
30
- mask_path: null
31
- mask_min_value: 0.1
32
- default_caption: "photo of a woman"
33
- caption_ext: "txt"
34
- caption_dropout_rate: 0.0
35
- cache_latents_to_disk: true
36
- is_reg: false
37
- network_weight: 1
38
- resolution:
39
- - 512
40
- controls: []
41
- shrink_video_to_frames: true
42
- num_frames: 1
43
- do_i2v: true
44
- flip_x: false
45
- flip_y: false
46
- train:
47
- batch_size: 1
48
- bypass_guidance_embedding: false
49
- steps: 2500
50
- gradient_accumulation: 1
51
- train_unet: true
52
- train_text_encoder: false
53
- gradient_checkpointing: true
54
- noise_scheduler: "flowmatch"
55
- optimizer: "adamw"
56
- timestep_type: "weighted"
57
- content_or_style: "balanced"
58
- optimizer_params:
59
- weight_decay: 0.01
60
- unload_text_encoder: true
61
- cache_text_embeddings: false
62
- lr: 0.0003
63
- ema_config:
64
- use_ema: false
65
- ema_decay: 0.999
66
- skip_first_sample: false
67
- force_first_sample: false
68
- disable_sampling: true
69
- dtype: "bf16"
70
- diff_output_preservation: false
71
- diff_output_preservation_multiplier: 1
72
- diff_output_preservation_class: "person"
73
- switch_boundary_every: 1
74
- loss_type: "mse"
75
- do_differential_guidance: true
76
- differential_guidance_scale: 1
77
- model:
78
- name_or_path: "Tongyi-MAI/Z-Image-Turbo"
79
- quantize: true
80
- qtype: "qfloat8"
81
- quantize_te: true
82
- qtype_te: "qfloat8"
83
- arch: "zimage:turbo"
84
- low_vram: true
85
- model_kwargs: {}
86
- layer_offloading: true
87
- layer_offloading_text_encoder_percent: 1
88
- layer_offloading_transformer_percent: 1
89
- assistant_lora_path: "ostris/zimage_turbo_training_adapter/zimage_turbo_training_adapter_v1.safetensors"
90
- sample:
91
- sampler: "flowmatch"
92
- sample_every: 2500
93
- width: 512
94
- height: 512
95
- samples:
96
- - prompt: "woman with red hair, playing chess at the park, bomb going off in the background"
97
- - prompt: "a woman holding a coffee cup, in a beanie, sitting at a cafe"
98
- - prompt: "a woman showing off her cool new t shirt at the beach, a shark is jumping out of the water in the background"
99
- - prompt: "woman playing the guitar, on stage, singing a song, laser lights, punk rocker"
100
- - prompt: "photo of a woman, white background, medium shot, modeling clothing, studio lighting, white backdrop"
101
- neg: ""
102
- seed: 42
103
- walk_seed: true
104
- guidance_scale: 1
105
- sample_steps: 8
106
- num_frames: 1
107
- fps: 1
108
- meta:
109
- name: "[name]"
110
- version: "1.0"