Skip to content

Instantly share code, notes, and snippets.

@Norod
Created November 21, 2023 07:24
Show Gist options
  • Save Norod/3a492e2636b8ceb85563bf0e7bc7548b to your computer and use it in GitHub Desktop.
Save Norod/3a492e2636b8ceb85563bf0e7bc7548b to your computer and use it in GitHub Desktop.
PaperCutout style SDXL LoRA config for Kohya (img subfolder was "30_PaperCutout style")
{
"LoRA_type": "Standard",
"adaptive_noise_scale": 0.00375,
"additional_parameters": "",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
"cache_latents": true,
"cache_latents_to_disk": true,
"caption_dropout_every_n_epochs": 0.0,
"caption_dropout_rate": 0,
"caption_extension": ".txt-no",
"clip_skip": "1",
"color_aug": false,
"conv_alpha": 1,
"conv_block_alphas": "",
"conv_block_dims": "",
"conv_dim": 1,
"decompose_both": false,
"dim_from_weights": false,
"down_lr_weight": "",
"enable_bucket": true,
"epoch": 5,
"factor": -1,
"flip_aug": false,
"full_bf16": false,
"full_fp16": false,
"gradient_accumulation_steps": 1,
"gradient_checkpointing": true,
"keep_tokens": "0",
"learning_rate": 0.0001,
"logging_dir": "C:\\Users\\doron\\Projects\\datasets\\PaperCutouts\\log",
"lora_network_weights": "",
"lr_scheduler": "constant",
"lr_scheduler_args": "",
"lr_scheduler_num_cycles": "1",
"lr_scheduler_power": "",
"lr_warmup": 0,
"max_bucket_reso": 2048,
"max_data_loader_n_workers": "0",
"max_resolution": "1024,1024",
"max_timestep": 900,
"max_token_length": "75",
"max_train_epochs": "",
"max_train_steps": "",
"mem_eff_attn": false,
"mid_lr_weight": "",
"min_bucket_reso": 256,
"min_snr_gamma": 5,
"min_timestep": 100,
"mixed_precision": "bf16",
"model_list": "stabilityai/stable-diffusion-xl-base-1.0",
"module_dropout": 0,
"multires_noise_discount": 0,
"multires_noise_iterations": 0,
"network_alpha": 4,
"network_dim": 8,
"network_dropout": 0,
"no_token_padding": false,
"noise_offset": 0.0375,
"noise_offset_type": "Original",
"num_cpu_threads_per_process": 2,
"optimizer": "AdamW",
"optimizer_args": "",
"output_dir": "C:\\Users\\doron\\Projects\\datasets\\PaperCutouts\\model",
"output_name": "sdxl-PaperCutouts-Dreambooh",
"persistent_data_loader_workers": false,
"pretrained_model_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
"prior_loss_weight": 1.0,
"random_crop": false,
"rank_dropout": 0,
"reg_data_dir": "",
"resume": "",
"sample_every_n_epochs": 1,
"sample_every_n_steps": 0,
"sample_prompts": "A photo of Gal Gadot as wonderwoman PaperCutout style --w 1024 --h 1024 --d 7777 --l 6 --s 32 --n blurry, grainy, unfocused, nsfw, nude, naked\nA dog in the PaperCutout style --w 768--h 1024 --d 7777 --l 6 --s 32 --n blurry, grainy, unfocused, nsfw, nude, naked\nThe girl with a pearl earring PaperCutout style --w 768--h 1024--d 7777 --l 6 --s 32 --n blurry, grainy, unfocused\nA crazy clown PaperCutout style --w 768 --h 1024 --d 7777 --l 6 --s 32 --n blurry, grainy, unfocused\nElsa from frozen, Disney style PaperCutout style --w 1024 --h 1024 --d 7777 --l 6 --s 32 --n blurry, grainy, unfocused\nElsa from frozen, Disney style PaperCutout style --w 768--h 1024 --d 7777 --l 6 --s 32 --n blurry, grainy, unfocused",
"sample_sampler": "euler_a",
"save_every_n_epochs": 1,
"save_every_n_steps": 0,
"save_last_n_steps": 0,
"save_last_n_steps_state": 0,
"save_model_as": "safetensors",
"save_precision": "bf16",
"save_state": false,
"scale_v_pred_loss_like_noise_pred": false,
"scale_weight_norms": 0,
"sdxl": true,
"sdxl_cache_text_encoder_outputs": false,
"sdxl_no_half_vae": false,
"seed": "12345",
"shuffle_caption": false,
"stop_text_encoder_training": 0,
"text_encoder_lr": 0.0,
"train_batch_size": 4,
"train_data_dir": "C:/Users/doron/Projects/datasets/PaperCutouts/img",
"train_on_input": true,
"training_comment": "",
"unet_lr": 0.0,
"unit": 1,
"up_lr_weight": "",
"use_cp": false,
"use_wandb": false,
"v2": false,
"v_parameterization": false,
"v_pred_like_loss": 0,
"vae_batch_size": 0,
"wandb_api_key": "",
"weighted_captions": false,
"xformers": "xformers"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment