File size: 2,081 Bytes
831c14e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[[subsets]]
num_repeats = 2
caption_extension = ".txt"
shuffle_caption = true
flip_aug = false
is_reg = false
image_dir = "E:/Everything artificial intelligence/loradataset\\2_ohwx cura"
keep_tokens = 0

[sample_args]

[general_args.args]
pretrained_model_name_or_path = "E:/Everything artificial intelligence/stable-diffusion-webui/models/Stable-diffusion/animefull-final-pruned-fp16.safetensors"
mixed_precision = "fp16"
seed = 69
max_data_loader_n_workers = 1
persistent_data_loader_workers = true
max_token_length = 225
prior_loss_weight = 1.0
full_bf16 = false
full_fp16 = true
clip_skip = 2
xformers = true
cache_latents = true
vae = ""
max_train_epochs = 30

[general_args.dataset_args]
resolution = 768
batch_size = 2

[network_args.args]
network_dim = 16
network_alpha = 8.0
ip_noise_gamma = 0.1
min_timestep = 0
max_timestep = 1000
network_dropout = 0.3

[optimizer_args.args]
optimizer_type = "AdamW8bit"
lr_scheduler = "cosine_with_restarts"
learning_rate = 0.001
max_grad_norm = 1.0
text_encoder_lr = 1e-6
warmup_ratio = 0.15
min_snr_gamma = 5
lr_scheduler_type = "LoraEasyCustomOptimizer.CustomOptimizers.CosineAnnealingWarmupRestarts"
lr_scheduler_num_cycles = 3
scale_weight_norms = 2.0

[saving_args.args]
output_dir = "E:/Everything artificial intelligence/stable-diffusion-webui/models/Lora/cura"
save_precision = "fp16"
save_model_as = "safetensors"
output_name = "cura"
save_toml = true
save_toml_location = "E:\\Everything artificial intelligence\\stable-diffusion-webui\\models\\Lora\\cura"
save_every_n_epochs = 1

[bucket_args.dataset_args]
enable_bucket = true
min_bucket_reso = 512
max_bucket_reso = 2048
bucket_reso_steps = 64
bucket_no_upscale = true

[noise_args.args]
noise_offset = 0.0357

[logging_args.args]
logging_dir = "E:/Everything artificial intelligence/stable-diffusion-webui/models/Lora/cura/logging"
log_with = "tensorboard"

[network_args.args.network_args]
conv_dim = 24
conv_alpha = 12.0

[optimizer_args.args.lr_scheduler_args]
min_lr = 1e-6
gamma = 0.7

[optimizer_args.args.optimizer_args]
weight_decay = "0.05"
betas = "0.9,0.99"