|
|
--- |
|
|
job: extension |
|
|
config: |
|
|
|
|
|
name: "xjt_my_first_flux_kontext_lora_v1" |
|
|
process: |
|
|
- type: 'sd_trainer' |
|
|
|
|
|
training_folder: "output" |
|
|
|
|
|
|
|
|
device: cuda:0 |
|
|
|
|
|
|
|
|
|
|
|
network: |
|
|
type: "lora" |
|
|
linear: 16 |
|
|
linear_alpha: 16 |
|
|
save: |
|
|
dtype: float16 |
|
|
save_every: 250 |
|
|
max_step_saves_to_keep: 4 |
|
|
push_to_hub: false |
|
|
|
|
|
|
|
|
|
|
|
datasets: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- folder_path: "/app/datasets/superman_target" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
control_path: "/app/datasets/superman_control" |
|
|
caption_ext: "txt" |
|
|
caption_dropout_rate: 0.05 |
|
|
shuffle_tokens: false |
|
|
cache_latents_to_disk: true |
|
|
|
|
|
resolution: [ 512, 768 ] |
|
|
|
|
|
train: |
|
|
batch_size: 1 |
|
|
steps: 3000 |
|
|
gradient_accumulation_steps: 1 |
|
|
train_unet: true |
|
|
train_text_encoder: false |
|
|
gradient_checkpointing: true |
|
|
noise_scheduler: "flowmatch" |
|
|
optimizer: "adamw8bit" |
|
|
lr: 1e-4 |
|
|
timestep_type: "weighted" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dtype: bf16 |
|
|
model: |
|
|
|
|
|
|
|
|
|
|
|
name_or_path: "black-forest-labs/FLUX.1-Kontext-dev" |
|
|
arch: "flux_kontext" |
|
|
quantize: true |
|
|
|
|
|
sample: |
|
|
sampler: "flowmatch" |
|
|
sample_every: 250 |
|
|
width: 1024 |
|
|
height: 1024 |
|
|
prompts: |
|
|
|
|
|
|
|
|
|
|
|
- "Maintain the subject original pose exactly as shown in the reference image. Do not change the position of the arms, legs, head, or body. all posture and movement must remain fully consistent with the original. Add a flowing red cape draped naturally over the shoulders, extending behind the back with realistic gravity and folds. Enhance muscular definition specifically in the arms and legs, emphasizing strength, athleticism, and physical power in the limbs. Muscles should appear well-developed and anatomically realistic, while maintaining the subject natural proportions. Do not enhance or expose musculature on the torso or chest unless it is fully covered by clothing. The upper body must remain clothed, and no nipples or bare skin on the torso should be visible under any circumstances. Ensure the subject is fully dressed. Clothing must appropriately cover the torso and lower body. Skin texture on visible areas (such as face, hands, arms, and legs) should remain natural and realistic.Preserve the subject facial features, hairstyle, clothing style, and skin tone. The person must remain clearly recognizable. Do not change the background, lighting, or any other elements of the scene. Only enhance limb muscle definition and add the red cape—without altering the subject pose, expression, outfit, or environment.Enhance image clarity and sharpness. Improve fine details, texture, and definition while preserving the original composition, lighting, and color balance. --ctrl_img /app/datasets/superman_test/nan1.jpg" |
|
|
- "Maintain the subject original pose exactly as shown in the reference image. Do not change the position of the arms, legs, head, or body. all posture and movement must remain fully consistent with the original. Add a flowing red cape draped naturally over the shoulders, extending behind the back with realistic gravity and folds. Enhance muscular definition specifically in the arms and legs, emphasizing strength, athleticism, and physical power in the limbs. Muscles should appear well-developed and anatomically realistic, while maintaining the subject natural proportions. Do not enhance or expose musculature on the torso or chest unless it is fully covered by clothing. The upper body must remain clothed, and no nipples or bare skin on the torso should be visible under any circumstances. Ensure the subject is fully dressed. Clothing must appropriately cover the torso and lower body. Skin texture on visible areas (such as face, hands, arms, and legs) should remain natural and realistic.Preserve the subject facial features, hairstyle, clothing style, and skin tone. The person must remain clearly recognizable. Do not change the background, lighting, or any other elements of the scene. Only enhance limb muscle definition and add the red cape—without altering the subject pose, expression, outfit, or environment.Enhance image clarity and sharpness. Improve fine details, texture, and definition while preserving the original composition, lighting, and color balance. --ctrl_img /app/datasets/superman_test/nan2.jpg" |
|
|
- "Maintain the subject original pose exactly as shown in the reference image. Do not change the position of the arms, legs, head, or body. all posture and movement must remain fully consistent with the original. Add a flowing red cape draped naturally over the shoulders, extending behind the back with realistic gravity and folds. Enhance muscular definition specifically in the arms and legs, emphasizing strength, athleticism, and physical power in the limbs. Muscles should appear well-developed and anatomically realistic, while maintaining the subject natural proportions. Do not enhance or expose musculature on the torso or chest unless it is fully covered by clothing. The upper body must remain clothed, and no nipples or bare skin on the torso should be visible under any circumstances. Ensure the subject is fully dressed. Clothing must appropriately cover the torso and lower body. Skin texture on visible areas (such as face, hands, arms, and legs) should remain natural and realistic.Preserve the subject facial features, hairstyle, clothing style, and skin tone. The person must remain clearly recognizable. Do not change the background, lighting, or any other elements of the scene. Only enhance limb muscle definition and add the red cape—without altering the subject pose, expression, outfit, or environment.Enhance image clarity and sharpness. Improve fine details, texture, and definition while preserving the original composition, lighting, and color balance. --ctrl_img /app/datasets/superman_test/nan3.jpg" |
|
|
- "Maintain the subject original pose exactly as shown in the reference image. Do not change the position of the arms, legs, head, or body. all posture and movement must remain fully consistent with the original. Add a flowing red cape draped naturally over the shoulders, extending behind the back with realistic gravity and folds. Enhance muscular definition specifically in the arms and legs, emphasizing strength, athleticism, and physical power in the limbs. Muscles should appear well-developed and anatomically realistic, while maintaining the subject natural proportions. Do not enhance or expose musculature on the torso or chest unless it is fully covered by clothing. The upper body must remain clothed, and no nipples or bare skin on the torso should be visible under any circumstances. Ensure the subject is fully dressed. Clothing must appropriately cover the torso and lower body. Skin texture on visible areas (such as face, hands, arms, and legs) should remain natural and realistic.Preserve the subject facial features, hairstyle, clothing style, and skin tone. The person must remain clearly recognizable. Do not change the background, lighting, or any other elements of the scene. Only enhance limb muscle definition and add the red cape—without altering the subject pose, expression, outfit, or environment.Enhance image clarity and sharpness. Improve fine details, texture, and definition while preserving the original composition, lighting, and color balance. --ctrl_img /app/datasets/superman_test/nan4.jpg" |
|
|
- "Maintain the subject original pose exactly as shown in the reference image. Do not change the position of the arms, legs, head, or body. all posture and movement must remain fully consistent with the original. Add a flowing red cape draped naturally over the shoulders, extending behind the back with realistic gravity and folds. Enhance muscular definition specifically in the arms and legs, emphasizing strength, athleticism, and physical power in the limbs. Muscles should appear well-developed and anatomically realistic, while maintaining the subject natural proportions. Do not enhance or expose musculature on the torso or chest unless it is fully covered by clothing. The upper body must remain clothed, and no nipples or bare skin on the torso should be visible under any circumstances. Ensure the subject is fully dressed. Clothing must appropriately cover the torso and lower body. Skin texture on visible areas (such as face, hands, arms, and legs) should remain natural and realistic.Preserve the subject facial features, hairstyle, clothing style, and skin tone. The person must remain clearly recognizable. Do not change the background, lighting, or any other elements of the scene. Only enhance limb muscle definition and add the red cape—without altering the subject pose, expression, outfit, or environment.Enhance image clarity and sharpness. Improve fine details, texture, and definition while preserving the original composition, lighting, and color balance. --ctrl_img /app/datasets/superman_test/nan5.jpg" |
|
|
- "Maintain the subject original pose exactly as shown in the reference image. Do not change the position of the arms, legs, head, or body. all posture and movement must remain fully consistent with the original. Add a flowing red cape draped naturally over the shoulders, extending behind the back with realistic gravity and folds. Enhance muscular definition specifically in the arms and legs, emphasizing strength, athleticism, and physical power in the limbs. Muscles should appear well-developed and anatomically realistic, while maintaining the subject natural proportions. Do not enhance or expose musculature on the torso or chest unless it is fully covered by clothing. The upper body must remain clothed, and no nipples or bare skin on the torso should be visible under any circumstances. Ensure the subject is fully dressed. Clothing must appropriately cover the torso and lower body. Skin texture on visible areas (such as face, hands, arms, and legs) should remain natural and realistic.Preserve the subject facial features, hairstyle, clothing style, and skin tone. The person must remain clearly recognizable. Do not change the background, lighting, or any other elements of the scene. Only enhance limb muscle definition and add the red cape—without altering the subject pose, expression, outfit, or environment.Enhance image clarity and sharpness. Improve fine details, texture, and definition while preserving the original composition, lighting, and color balance. --ctrl_img /app/datasets/superman_test/nan6.jpg" |
|
|
neg: "" |
|
|
seed: 42 |
|
|
walk_seed: true |
|
|
guidance_scale: 4 |
|
|
sample_steps: 20 |
|
|
|
|
|
meta: |
|
|
name: "[name]" |
|
|
version: '1.0' |