Human Focus Photography
详情
下载文件
关于此版本
模型描述
人类焦点摄影是一种通用LoRA,基于多样化的摄影肖像和生活方式图像训练而成。其目标是减少偏见,提升广泛题材的写实性、光影效果和自然细节,非常适合用于肖像、街拍、时尚和抓拍风格。
示例图像中包含工作流程。
v1.0版本的训练在我5090显卡上耗时约17小时。
SimpleTuner训练配置:
{
"aspect_bucket_rounding": 2,
"base_model_precision": "int8-quanto",
"caption_dropout_probability": 0.05,
"checkpointing_steps": 250,
"checkpoints_total_limit": 40,
"compress_disk_cache": false,
"data_backend_config": "/data/datasets/config/Human_Focus_Photography_v1.0.json",
"disable_benchmark": true,
"disable_bucket_pruning": true,
"flow_schedule_shift": 1.73,
"gradient_accumulation_steps": 8,
"gradient_checkpointing": true,
"ignore_final_epochs": true,
"learning_rate": 0.000025,
"lora_type": "lycoris",
"lr_scheduler": "cosine",
"lr_warmup_steps": 100,
"lycoris_config": "/data/config/lycoris_config_283.19M.json",
"max_grad_norm": 0.5,
"max_train_steps": 0,
"minimum_image_size": 0,
"mixed_precision": "bf16",
"model_family": "qwen_image",
"model_flavour": "v1.0",
"model_type": "lora",
"num_eval_images": 25,
"num_train_epochs": 100,
"optimizer": "optimi-lion",
"optimizer_config": "weight_decay=0.0",
"output_dir": "/data/output/loras/Human_Focus_Photography_v1.0",
"push_checkpoints_to_hub": false,
"push_to_hub": false,
"quantize_activations": false,
"quantize_via": "cpu",
"report_to": "none",
"resolution_type": "pixel_area",
"resolution": 1024,
"resume_from_checkpoint": "latest",
"seed": 42,
"skip_file_discovery": false,
"train_batch_size": 1,
"use_ema": true,
"vae_batch_size": 2,
"validation_disable": true
}
以及Lycoris配置:
{
"algo": "lokr",
"multiplier": 1.0,
"linear_dim": 100000,
"linear_alpha": 1,
"factor": 12,
"apply_preset": {
"target_module": [
"Attention",
"FeedForward"
],
"module_algo_map": {
"Attention": {
"factor": 12
},
"FeedForward": {
"factor": 6
}
}
}
}




















