ProjectNekoFi commited on
Commit
48765ea
1 Parent(s): b9c8318

feat: upload Regainer-v2 checkpoint

Browse files
Regainer-v2_config/config_file.toml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [model_arguments]
2
+ v2 = true
3
+ v_parameterization = true
4
+ pretrained_model_name_or_path = "/content/pretrained_model/Replicant-V3.0_fp32.safetensors"
5
+
6
+ [optimizer_arguments]
7
+ min_snr_gamma = 5
8
+ optimizer_type = "AdamW8bit"
9
+ learning_rate = 2e-6
10
+ max_grad_norm = 1.0
11
+ lr_scheduler = "constant"
12
+ lr_warmup_steps = 0
13
+
14
+ [dataset_arguments]
15
+ cache_latents = true
16
+ debug_dataset = false
17
+ vae_batch_size = 1
18
+
19
+ [training_arguments]
20
+ output_dir = "/content/dreambooth/output"
21
+ output_name = "Regainer-v2"
22
+ save_precision = "fp16"
23
+ save_n_epoch_ratio = 1
24
+ save_state = true
25
+ train_batch_size = 2
26
+ max_token_length = 225
27
+ mem_eff_attn = false
28
+ xformers = true
29
+ max_train_steps = 2230
30
+ max_data_loader_n_workers = 8
31
+ persistent_data_loader_workers = true
32
+ gradient_checkpointing = false
33
+ gradient_accumulation_steps = 1
34
+ mixed_precision = "fp16"
35
+ logging_dir = "/content/dreambooth/logs"
36
+ log_prefix = "Regainer-v2"
37
+ noise_offset = 0.1
38
+
39
+ [sample_prompt_arguments]
40
+ sample_every_n_steps = 100
41
+ sample_sampler = "ddim"
42
+
43
+ [dreambooth_arguments]
44
+ prior_loss_weight = 1.0
45
+
46
+ [saving_arguments]
47
+ save_model_as = "safetensors"
Regainer-v2_config/dataset_config.toml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [[datasets]]
2
+ resolution = 512
3
+ min_bucket_reso = 256
4
+ max_bucket_reso = 1024
5
+ caption_dropout_rate = 0
6
+ caption_tag_dropout_rate = 0
7
+ caption_dropout_every_n_epochs = 0
8
+ flip_aug = true
9
+ color_aug = false
10
+ [[datasets.subsets]]
11
+ image_dir = "/content/dreambooth/train_data"
12
+ class_tokens = "mksks style"
13
+ num_repeats = 2
14
+
15
+
16
+ [general]
17
+ enable_bucket = true
18
+ caption_extension = ".txt"
19
+ shuffle_caption = true
20
+ keep_tokens = 0
21
+ bucket_reso_steps = 64
22
+ bucket_no_upscale = false
Regainer-v2_config/sample_prompt.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+
2
+ masterpiece, best quality, 1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt --n lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry --w 512 --h 768 --l 7 --s 28