hig-human-retrain / config.yaml
linhqyy's picture
Upload folder using huggingface_hub
eddbd56 verified
raw
history blame contribute delete
No virus
1.75 kB
job: extension
config:
name: human-retrain
process:
- type: sd_trainer
training_folder: output
device: cuda:0
network:
type: lora
linear: 16
linear_alpha: 16
save:
dtype: float16
save_every: 1000
max_step_saves_to_keep: 4
datasets:
- folder_path: /workspace/training_imgs
caption_ext: txt
caption_dropout_rate: 0.05
shuffle_tokens: false
cache_latents_to_disk: true
resolution:
- 1024
train:
batch_size: 1
steps: 5000
gradient_accumulation_steps: 1
train_unet: true
train_text_encoder: false
gradient_checkpointing: true
noise_scheduler: flowmatch
optimizer: adamw8bit
lr: 0.0001
ema_config:
use_ema: true
ema_decay: 0.99
dtype: bf16
model:
name_or_path: black-forest-labs/FLUX.1-dev
is_flux: true
quantize: false
sample:
sampler: flowmatch
sample_every: 500
width: 1344
height: 768
prompts:
- an image of a young man sitting in a serene jungle environment by a waterfall,
playing a handpan drum. The man is wearing a sleeveless, earthy-toned, loose-fitting
outfit, and he is seated on large moss-covered rocks. The scene is bathed
in soft, golden sunlight filtering through the dense, green canopy above.
In the background, a cascading waterfall flows into a calm, reflective pond,
surrounded by lush tropical vegetation. The overall atmosphere is peaceful,
natural, and meditative, with a strong connection to nature
neg: ''
seed: 42
walk_seed: true
guidance_scale: 4
sample_steps: 20
meta:
name: human
version: '1.0'