|
pretrained_model_name_or_path = "D:/stablediffusion/lora-scripts/sd-models/noobaiXLNAIXL_epsilonPred05Version.safetensors"
|
|
vae = "D:/stablediffusion/lora-scripts/VAE/sdxl-vae-fp16-fix.safetensors"
|
|
train_data_dir = "D:/stablediffusion/lora-scripts/train/train/列克星敦/未剪裁/7群星盛宴Lexington (CV-2) (All Stars Feast) (Warship Girls R)"
|
|
reg_data_dir = "D:/stablediffusion/lora-scripts/train/train/列克星敦/未剪裁/新建文件夹"
|
|
prior_loss_weight = 1
|
|
resolution = "1024,1024"
|
|
enable_bucket = true
|
|
min_bucket_reso = 256
|
|
max_bucket_reso = 4096
|
|
bucket_reso_steps = 32
|
|
output_name = "Lexington (CV-2) (All Stars Feast) (Warship Girls R)v1.1"
|
|
output_dir = "./output"
|
|
save_model_as = "safetensors"
|
|
save_precision = "bf16"
|
|
save_every_n_epochs = 1
|
|
save_state = true
|
|
max_train_epochs = 12
|
|
train_batch_size = 4
|
|
gradient_checkpointing = true
|
|
gradient_accumulation_steps = 16
|
|
network_train_unet_only = false
|
|
network_train_text_encoder_only = false
|
|
learning_rate = 6e-5
|
|
unet_lr = 6e-5
|
|
text_encoder_lr = 2e-6
|
|
lr_scheduler = "cosine_with_restarts"
|
|
lr_warmup_steps = 0
|
|
lr_scheduler_num_cycles = 3
|
|
optimizer_type = "Lion8bit"
|
|
min_snr_gamma = 5
|
|
network_module = "lycoris.kohya"
|
|
network_dim = 100000
|
|
network_alpha = 1
|
|
scale_weight_norms = 1
|
|
log_with = "tensorboard"
|
|
logging_dir = "./logs"
|
|
caption_extension = ".txt"
|
|
shuffle_caption = true
|
|
keep_tokens = 1
|
|
max_token_length = 255
|
|
multires_noise_iterations = 6
|
|
multires_noise_discount = 0.3
|
|
seed = 1337
|
|
mixed_precision = "bf16"
|
|
full_bf16 = true
|
|
xformers = true
|
|
lowram = false
|
|
cache_latents = true
|
|
cache_latents_to_disk = true
|
|
persistent_data_loader_workers = true
|
|
network_args = [ "conv_dim=8", "conv_alpha=1", "dropout=0", "algo=lokr", "factor=10", "train_norm=True", "preset=attn-mlp",]
|
|
optimizer_args = [ "weight_decay=0.1", "betas=0.9,0.99",]
|
|
|