kohya_ss Lora 模型人像訓(xùn)練經(jīng)驗分享
關(guān)于訓(xùn)練集的圖片 因為要練人像所以裁剪成正方形以人像占據(jù)畫面大部分為好
訓(xùn)練文件夾命名的哪個數(shù)字,我參考的乘積等于400的方式8x50張圖
訓(xùn)練參數(shù):???
? "max_resolution": "512,512",
? "learning_rate": "0.0001",
? "lr_scheduler": "constant_with_warmup",
? "lr_warmup": "5",
? "train_batch_size": 4,
? "epoch": "20",
? "save_every_n_epochs": "20",
? "mixed_precision": "fp16",
? "save_precision": "fp16",
? "seed": "1234",
? "num_cpu_threads_per_process": 2,
? "cache_latents": true,
? "caption_extension": "",
? "enable_bucket": true,
? "gradient_checkpointing": false,
? "full_fp16": false,
? "no_token_padding": false,
? "stop_text_encoder_training": 0,
? "use_8bit_adam": true,
? "xformers": true,
? "save_model_as": "safetensors",
? "shuffle_caption": false,
? "save_state": false,
? "resume": "",
? "prior_loss_weight": 1.0,
? "text_encoder_lr": "1e-5",
? "unet_lr": "1e-4",
? "network_dim": 64,