feat: upload locon_edmunstyleV1 lora model
Browse files
locon_edmunstyleV1_config/config_file.toml
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[model_arguments]
|
| 2 |
+
v2 = false
|
| 3 |
+
v_parameterization = false
|
| 4 |
+
pretrained_model_name_or_path = "/content/pretrained_model/AnyLoRA.safetensors"
|
| 5 |
+
|
| 6 |
+
[additional_network_arguments]
|
| 7 |
+
no_metadata = false
|
| 8 |
+
unet_lr = 0.0001
|
| 9 |
+
text_encoder_lr = 5e-5
|
| 10 |
+
network_module = "networks.lora"
|
| 11 |
+
network_dim = 64
|
| 12 |
+
network_alpha = 32
|
| 13 |
+
network_args = [ "conv_dim=8", "conv_alpha=1",]
|
| 14 |
+
network_train_unet_only = false
|
| 15 |
+
network_train_text_encoder_only = false
|
| 16 |
+
|
| 17 |
+
[optimizer_arguments]
|
| 18 |
+
min_snr_gamma = 5.0
|
| 19 |
+
optimizer_type = "AdamW8bit"
|
| 20 |
+
learning_rate = 0.0001
|
| 21 |
+
max_grad_norm = 1.0
|
| 22 |
+
optimizer_args = []
|
| 23 |
+
lr_scheduler = "cosine"
|
| 24 |
+
lr_warmup_steps = 0
|
| 25 |
+
|
| 26 |
+
[dataset_arguments]
|
| 27 |
+
cache_latents_to_disk = true
|
| 28 |
+
debug_dataset = false
|
| 29 |
+
vae_batch_size = 4
|
| 30 |
+
|
| 31 |
+
[training_arguments]
|
| 32 |
+
output_dir = "/content/LoRA/output"
|
| 33 |
+
output_name = "locon_edmunstyleV1"
|
| 34 |
+
save_precision = "fp16"
|
| 35 |
+
save_every_n_epochs = 1
|
| 36 |
+
train_batch_size = 2
|
| 37 |
+
max_token_length = 225
|
| 38 |
+
mem_eff_attn = false
|
| 39 |
+
xformers = true
|
| 40 |
+
max_train_epochs = 8
|
| 41 |
+
max_data_loader_n_workers = 8
|
| 42 |
+
persistent_data_loader_workers = true
|
| 43 |
+
seed = 544655
|
| 44 |
+
gradient_checkpointing = false
|
| 45 |
+
gradient_accumulation_steps = 1
|
| 46 |
+
mixed_precision = "fp16"
|
| 47 |
+
clip_skip = 2
|
| 48 |
+
noise_offset = 0.2
|
| 49 |
+
lowram = true
|
| 50 |
+
|
| 51 |
+
[logging_arguments]
|
| 52 |
+
log_with = "tensorboard"
|
| 53 |
+
logging_dir = "/content/LoRA/logs"
|
| 54 |
+
log_prefix = "locon_edmunstyleV1"
|
| 55 |
+
|
| 56 |
+
[dreambooth_arguments]
|
| 57 |
+
prior_loss_weight = 1.0
|
| 58 |
+
|
| 59 |
+
[saving_arguments]
|
| 60 |
+
save_model_as = "safetensors"
|
| 61 |
+
|
| 62 |
+
[sample_prompt_arguments]
|
| 63 |
+
sample_every_n_epochs = 1
|
| 64 |
+
sample_sampler = "ddim"
|
locon_edmunstyleV1_config/dataset_config.toml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[[datasets]]
|
| 2 |
+
resolution = 768
|
| 3 |
+
min_bucket_reso = 320
|
| 4 |
+
max_bucket_reso = 1280
|
| 5 |
+
caption_dropout_rate = 0
|
| 6 |
+
caption_tag_dropout_rate = 0
|
| 7 |
+
caption_dropout_every_n_epochs = 0
|
| 8 |
+
flip_aug = false
|
| 9 |
+
color_aug = false
|
| 10 |
+
[[datasets.subsets]]
|
| 11 |
+
image_dir = "/content/LoRA/train_data"
|
| 12 |
+
class_tokens = "edmunstyle"
|
| 13 |
+
num_repeats = 50
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
[general]
|
| 17 |
+
enable_bucket = true
|
| 18 |
+
caption_extension = ".txt"
|
| 19 |
+
shuffle_caption = true
|
| 20 |
+
keep_tokens = 1
|
| 21 |
+
bucket_reso_steps = 64
|
| 22 |
+
bucket_no_upscale = false
|
locon_edmunstyleV1_config/sample_prompt.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
masterpiece, best quality, edmunstyle, 1girl, solo, long hair, breasts, looking at viewer, blush, smile, bangs, large breasts, gloves, navel, cleavage, purple eyes, swimsuit, weapon, purple hair, heart, horns, sword, armpits, nail polish, mole, arm up, symbol-shaped pupils, sideboob, katana, hand on own chest, red nails, curvy, raiden mei --n (worst quality, low quality:1.4) --w 512 --h 768 --l 7 --s 28
|
| 2 |
+
masterpiece, best quality, edmunstyle, 1girl, solo, long hair, breasts, looking at viewer, blush, smile, bangs, black hair, red eyes, thighhighs, long sleeves, navel, cleavage, very long hair, closed mouth, underwear, nipples, panties, heart, thighs, lying, glasses, black thighhighs, on back, stomach, clothes lift, mole, huge breasts, pillow, black panties, bed sheet, shirt lift, phone, cellphone, lifted by self, mole under mouth, smartphone, spoken heart --n (worst quality, low quality:1.4) --w 512 --h 768 --l 7 --s 28
|
| 3 |
+
masterpiece, best quality, edmunstyle, 1girl, breasts, blush, smile, short hair, bangs, blue eyes, blonde hair, large breasts, simple background, white background, navel, cleavage, hair between eyes, bare shoulders, sitting, closed mouth, underwear, collarbone, panties, heart, thighs, cowboy shot, sweat, solo focus, armpits, stomach, bra, arm up, black panties, thigh gap, lingerie, black bra, spoken heart, disembodied limb --n (worst quality, low quality:1.4) --w 512 --h 768 --l 7 --s 28
|
| 4 |
+
masterpiece, best quality, edmunstyle, 1girl, solo, long hair, breasts, looking at viewer, blush, smile, bangs, large breasts, navel, cleavage, bare shoulders, collarbone, swimsuit, pink hair, sidelocks, bikini, thighs, parted lips, choker, virtual youtuber, pink eyes, water, stomach, nail polish, grin, wet, black bikini, side-tie bikini bottom, halterneck, black choker, beach, sunglasses, hand on own chest, black nails, string bikini, eyewear on head, arm behind back, skull print, mori calliope --n (worst quality, low quality:1.4) --w 512 --h 768 --l 7 --s 28
|
| 5 |
+
masterpiece, best quality, edmunstyle, 1girl, solo, long hair, breasts, looking at viewer, blush, smile, bangs, large breasts, black hair, navel, cleavage, hair between eyes, bare shoulders, underwear, purple eyes, collarbone, panties, swimsuit, heart, bikini, thighs, cowboy shot, sweat, parted lips, stomach, nail polish, bra, symbol-shaped pupils, black bikini, heart-shaped pupils, border, hand on own chest, black bra, red nails, red background --n (worst quality, low quality:1.4) --w 512 --h 768 --l 7 --s 28
|