1_BasicDataset / configMain.toml
kaz001's picture
Update configMain.toml
ee47a44
raw
history blame
1.29 kB
v2 = true
v_parameterization = true
pretrained_model_name_or_path = "/home/ec2-user/models/v2-1_768-ema-pruned.safetensors"
output_dir = "/home/ec2-user/tools/ComfyUI/models/checkpoints"
train_data_dir = "/home/ec2-user/datasets/1_BasicDataset"
output_name = "test"
logging_dir = "/home/ec2-user/logs"
save_precision = "bf16"
save_every_n_epochs = 5
save_state = false
[Optimization]
max_data_loader_n_workers = 6
cache_text_encoder_outputs = true
cache_latents = true
cache_latents_to_disk = true
gradient_checkpointing = true
optimizer_type = "AdamW8bit"
mixed_precision = "bf16"
full_bf16 = true
xformers = true
no_half_vae = true
vae_batch_size = 12
lr_scheduler = "constant"
learning_rate = 4e-7
train_text_encoder = false
persistent_data_loader_workers = true
[bucketing]
bucket_no_upscale = true
enable_bucket = true
bucket_reso_steps = 32
[caption]
caption_extension = ".txt"
shuffle_caption = false
#caption_dropout_rate = 0.1
[params]
resolution = "768,768"
max_train_epochs = 100
[learning]
train_batch_size = 1
learning_rate = 1e-6
train_text_encoder = false
lr_scheduler = "constant"
min_snr_gamma = 5
noise_offset = 0.05
#v_pred_like_loss = 0.5
seed = 555
max_token_length = 75
save_model_as = "safetensors"
#wandb_api_key = "-"
log_tracker_name="-"
log_with = "all"