Hopefully everything needed now
Browse files
OneTrainer/README.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
You can copy these files to the matching places in your OneTrainer install.
|
2 |
+
You will then need to adjust the paths in the "concepts",
|
3 |
+
to match where you have copied the image files to.
|
OneTrainer/training_concepts/concepts.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"__version": 0,
|
4 |
+
"image": {
|
5 |
+
"__version": 0,
|
6 |
+
"enable_crop_jitter": false,
|
7 |
+
"enable_random_flip": false,
|
8 |
+
"enable_fixed_flip": false,
|
9 |
+
"enable_random_rotate": false,
|
10 |
+
"enable_fixed_rotate": false,
|
11 |
+
"random_rotate_max_angle": 0.0,
|
12 |
+
"enable_random_brightness": false,
|
13 |
+
"enable_fixed_brightness": false,
|
14 |
+
"random_brightness_max_strength": 0.0,
|
15 |
+
"enable_random_contrast": false,
|
16 |
+
"enable_fixed_contrast": false,
|
17 |
+
"random_contrast_max_strength": 0.0,
|
18 |
+
"enable_random_saturation": false,
|
19 |
+
"enable_fixed_saturation": false,
|
20 |
+
"random_saturation_max_strength": 0.0,
|
21 |
+
"enable_random_hue": false,
|
22 |
+
"enable_fixed_hue": false,
|
23 |
+
"random_hue_max_strength": 0.0,
|
24 |
+
"enable_resolution_override": true,
|
25 |
+
"resolution_override": "512"
|
26 |
+
},
|
27 |
+
"text": {
|
28 |
+
"__version": 0,
|
29 |
+
"prompt_source": "concept",
|
30 |
+
"prompt_path": "/data/faery-hd-side-master/prompt.txt",
|
31 |
+
"enable_tag_shuffling": false,
|
32 |
+
"tag_delimiter": ",",
|
33 |
+
"keep_tags_count": 1
|
34 |
+
},
|
35 |
+
"name": "faeryqueen_side",
|
36 |
+
"path": "/data/faery-hd-side-master",
|
37 |
+
"seed": -520064384,
|
38 |
+
"enabled": true,
|
39 |
+
"include_subdirectories": false,
|
40 |
+
"image_variations": 1,
|
41 |
+
"text_variations": 1,
|
42 |
+
"repeats": 1.0,
|
43 |
+
"loss_weight": 1.0
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"__version": 0,
|
47 |
+
"image": {
|
48 |
+
"__version": 0,
|
49 |
+
"enable_crop_jitter": false,
|
50 |
+
"enable_random_flip": false,
|
51 |
+
"enable_fixed_flip": false,
|
52 |
+
"enable_random_rotate": false,
|
53 |
+
"enable_fixed_rotate": false,
|
54 |
+
"random_rotate_max_angle": 0.0,
|
55 |
+
"enable_random_brightness": false,
|
56 |
+
"enable_fixed_brightness": false,
|
57 |
+
"random_brightness_max_strength": 0.0,
|
58 |
+
"enable_random_contrast": false,
|
59 |
+
"enable_fixed_contrast": false,
|
60 |
+
"random_contrast_max_strength": 0.0,
|
61 |
+
"enable_random_saturation": false,
|
62 |
+
"enable_fixed_saturation": false,
|
63 |
+
"random_saturation_max_strength": 0.0,
|
64 |
+
"enable_random_hue": false,
|
65 |
+
"enable_fixed_hue": false,
|
66 |
+
"random_hue_max_strength": 0.0,
|
67 |
+
"enable_resolution_override": true,
|
68 |
+
"resolution_override": "512"
|
69 |
+
},
|
70 |
+
"text": {
|
71 |
+
"__version": 0,
|
72 |
+
"prompt_source": "concept",
|
73 |
+
"prompt_path": "/data/faery-hd-default-master/prompt.txt",
|
74 |
+
"enable_tag_shuffling": false,
|
75 |
+
"tag_delimiter": ",",
|
76 |
+
"keep_tags_count": 1
|
77 |
+
},
|
78 |
+
"name": "faeryqueen_default",
|
79 |
+
"path": "/data/faery-hd-default-master",
|
80 |
+
"seed": 14414827,
|
81 |
+
"enabled": true,
|
82 |
+
"include_subdirectories": false,
|
83 |
+
"image_variations": 1,
|
84 |
+
"text_variations": 1,
|
85 |
+
"repeats": 1.0,
|
86 |
+
"loss_weight": 1.0
|
87 |
+
}
|
88 |
+
]
|
OneTrainer/training_presets/faery-sd-frombase.json
ADDED
@@ -0,0 +1,236 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version": 3,
|
3 |
+
"training_method": "LORA",
|
4 |
+
"model_type": "STABLE_DIFFUSION_15",
|
5 |
+
"debug_mode": false,
|
6 |
+
"debug_dir": "debug",
|
7 |
+
"workspace_dir": "workspace/run",
|
8 |
+
"cache_dir": "workspace-cache/run",
|
9 |
+
"tensorboard": false,
|
10 |
+
"tensorboard_expose": false,
|
11 |
+
"continue_last_backup": false,
|
12 |
+
"include_train_config": "NONE",
|
13 |
+
"base_model_name": "runwayml/stable-diffusion-v1-5",
|
14 |
+
"weight_dtype": "FLOAT_16",
|
15 |
+
"output_dtype": "FLOAT_16",
|
16 |
+
"output_model_format": "SAFETENSORS",
|
17 |
+
"output_model_destination": "models/lora/faeryqueen-master-frombase.safetensors",
|
18 |
+
"gradient_checkpointing": true,
|
19 |
+
"concept_file_name": "training_concepts/concepts.json",
|
20 |
+
"concepts": null,
|
21 |
+
"circular_mask_generation": false,
|
22 |
+
"random_rotate_and_crop": false,
|
23 |
+
"aspect_ratio_bucketing": true,
|
24 |
+
"latent_caching": true,
|
25 |
+
"clear_cache_before_training": true,
|
26 |
+
"learning_rate_scheduler": "CONSTANT",
|
27 |
+
"learning_rate": 0.0003,
|
28 |
+
"learning_rate_warmup_steps": 20,
|
29 |
+
"learning_rate_cycles": 1,
|
30 |
+
"epochs": 100,
|
31 |
+
"batch_size": 1,
|
32 |
+
"gradient_accumulation_steps": 1,
|
33 |
+
"ema": "OFF",
|
34 |
+
"ema_decay": 0.999,
|
35 |
+
"ema_update_step_interval": 5,
|
36 |
+
"train_device": "cuda",
|
37 |
+
"temp_device": "cpu",
|
38 |
+
"train_dtype": "FLOAT_16",
|
39 |
+
"fallback_train_dtype": "BFLOAT_16",
|
40 |
+
"enable_autocast_cache": true,
|
41 |
+
"only_cache": false,
|
42 |
+
"resolution": "512",
|
43 |
+
"attention_mechanism": "XFORMERS",
|
44 |
+
"align_prop": false,
|
45 |
+
"align_prop_probability": 0.1,
|
46 |
+
"align_prop_loss": "AESTHETIC",
|
47 |
+
"align_prop_weight": 0.01,
|
48 |
+
"align_prop_steps": 20,
|
49 |
+
"align_prop_truncate_steps": 0.5,
|
50 |
+
"align_prop_cfg_scale": 7.0,
|
51 |
+
"mse_strength": 1.0,
|
52 |
+
"mae_strength": 0.0,
|
53 |
+
"vb_loss_strength": 1.0,
|
54 |
+
"loss_weight_fn": "CONSTANT",
|
55 |
+
"loss_weight_strength": 5.0,
|
56 |
+
"dropout_probability": 0.0,
|
57 |
+
"loss_scaler": "NONE",
|
58 |
+
"learning_rate_scaler": "NONE",
|
59 |
+
"offset_noise_weight": 0.0,
|
60 |
+
"perturbation_noise_weight": 0.0,
|
61 |
+
"rescale_noise_scheduler_to_zero_terminal_snr": false,
|
62 |
+
"force_v_prediction": false,
|
63 |
+
"force_epsilon_prediction": false,
|
64 |
+
"min_noising_strength": 0.0,
|
65 |
+
"max_noising_strength": 1.0,
|
66 |
+
"noising_weight": 0.0,
|
67 |
+
"noising_bias": 0.5,
|
68 |
+
"unet": {
|
69 |
+
"__version": 0,
|
70 |
+
"model_name": "",
|
71 |
+
"train": true,
|
72 |
+
"stop_training_after": 0,
|
73 |
+
"stop_training_after_unit": "NEVER",
|
74 |
+
"learning_rate": null,
|
75 |
+
"weight_dtype": "NONE"
|
76 |
+
},
|
77 |
+
"prior": {
|
78 |
+
"__version": 0,
|
79 |
+
"model_name": "",
|
80 |
+
"train": true,
|
81 |
+
"stop_training_after": 0,
|
82 |
+
"stop_training_after_unit": "NEVER",
|
83 |
+
"learning_rate": null,
|
84 |
+
"weight_dtype": "NONE"
|
85 |
+
},
|
86 |
+
"text_encoder": {
|
87 |
+
"__version": 0,
|
88 |
+
"model_name": "",
|
89 |
+
"train": true,
|
90 |
+
"stop_training_after": 30,
|
91 |
+
"stop_training_after_unit": "EPOCH",
|
92 |
+
"learning_rate": null,
|
93 |
+
"weight_dtype": "NONE"
|
94 |
+
},
|
95 |
+
"text_encoder_layer_skip": 0,
|
96 |
+
"text_encoder_2": {
|
97 |
+
"__version": 0,
|
98 |
+
"model_name": "",
|
99 |
+
"train": true,
|
100 |
+
"stop_training_after": 30,
|
101 |
+
"stop_training_after_unit": "EPOCH",
|
102 |
+
"learning_rate": null,
|
103 |
+
"weight_dtype": "NONE"
|
104 |
+
},
|
105 |
+
"text_encoder_2_layer_skip": 0,
|
106 |
+
"vae": {
|
107 |
+
"__version": 0,
|
108 |
+
"model_name": "",
|
109 |
+
"train": true,
|
110 |
+
"stop_training_after": null,
|
111 |
+
"stop_training_after_unit": "NEVER",
|
112 |
+
"learning_rate": null,
|
113 |
+
"weight_dtype": "NONE"
|
114 |
+
},
|
115 |
+
"effnet_encoder": {
|
116 |
+
"__version": 0,
|
117 |
+
"model_name": "",
|
118 |
+
"train": true,
|
119 |
+
"stop_training_after": null,
|
120 |
+
"stop_training_after_unit": "NEVER",
|
121 |
+
"learning_rate": null,
|
122 |
+
"weight_dtype": "NONE"
|
123 |
+
},
|
124 |
+
"decoder": {
|
125 |
+
"__version": 0,
|
126 |
+
"model_name": "",
|
127 |
+
"train": true,
|
128 |
+
"stop_training_after": null,
|
129 |
+
"stop_training_after_unit": "NEVER",
|
130 |
+
"learning_rate": null,
|
131 |
+
"weight_dtype": "NONE"
|
132 |
+
},
|
133 |
+
"decoder_text_encoder": {
|
134 |
+
"__version": 0,
|
135 |
+
"model_name": "",
|
136 |
+
"train": true,
|
137 |
+
"stop_training_after": null,
|
138 |
+
"stop_training_after_unit": "NEVER",
|
139 |
+
"learning_rate": null,
|
140 |
+
"weight_dtype": "NONE"
|
141 |
+
},
|
142 |
+
"decoder_vqgan": {
|
143 |
+
"__version": 0,
|
144 |
+
"model_name": "",
|
145 |
+
"train": true,
|
146 |
+
"stop_training_after": null,
|
147 |
+
"stop_training_after_unit": "NEVER",
|
148 |
+
"learning_rate": null,
|
149 |
+
"weight_dtype": "NONE"
|
150 |
+
},
|
151 |
+
"masked_training": false,
|
152 |
+
"unmasked_probability": 0.1,
|
153 |
+
"unmasked_weight": 0.1,
|
154 |
+
"normalize_masked_area_loss": false,
|
155 |
+
"embeddings": [
|
156 |
+
{
|
157 |
+
"__version": 0,
|
158 |
+
"model_name": "",
|
159 |
+
"train": true,
|
160 |
+
"stop_training_after": null,
|
161 |
+
"stop_training_after_unit": "NEVER",
|
162 |
+
"token_count": 1,
|
163 |
+
"initial_embedding_text": "*",
|
164 |
+
"weight_dtype": "FLOAT_32"
|
165 |
+
}
|
166 |
+
],
|
167 |
+
"embedding_weight_dtype": "BFLOAT_16",
|
168 |
+
"lora_model_name": "",
|
169 |
+
"lora_rank": 32,
|
170 |
+
"lora_alpha": 1.0,
|
171 |
+
"lora_weight_dtype": "FLOAT_32",
|
172 |
+
"optimizer": {
|
173 |
+
"__version": 0,
|
174 |
+
"optimizer": "ADAMW",
|
175 |
+
"adam_w_mode": false,
|
176 |
+
"alpha": null,
|
177 |
+
"amsgrad": false,
|
178 |
+
"beta1": 0.9,
|
179 |
+
"beta2": 0.999,
|
180 |
+
"beta3": null,
|
181 |
+
"bias_correction": false,
|
182 |
+
"block_wise": false,
|
183 |
+
"capturable": false,
|
184 |
+
"centered": false,
|
185 |
+
"clip_threshold": null,
|
186 |
+
"d0": null,
|
187 |
+
"d_coef": null,
|
188 |
+
"dampening": null,
|
189 |
+
"decay_rate": null,
|
190 |
+
"decouple": false,
|
191 |
+
"differentiable": false,
|
192 |
+
"eps": 1e-08,
|
193 |
+
"eps2": null,
|
194 |
+
"foreach": false,
|
195 |
+
"fsdp_in_use": false,
|
196 |
+
"fused": true,
|
197 |
+
"fused_back_pass": false,
|
198 |
+
"growth_rate": null,
|
199 |
+
"initial_accumulator_value": null,
|
200 |
+
"is_paged": false,
|
201 |
+
"log_every": null,
|
202 |
+
"lr_decay": null,
|
203 |
+
"max_unorm": null,
|
204 |
+
"maximize": false,
|
205 |
+
"min_8bit_size": null,
|
206 |
+
"momentum": null,
|
207 |
+
"nesterov": false,
|
208 |
+
"no_prox": false,
|
209 |
+
"optim_bits": null,
|
210 |
+
"percentile_clipping": null,
|
211 |
+
"relative_step": false,
|
212 |
+
"safeguard_warmup": false,
|
213 |
+
"scale_parameter": false,
|
214 |
+
"stochastic_rounding": false,
|
215 |
+
"use_bias_correction": false,
|
216 |
+
"use_triton": false,
|
217 |
+
"warmup_init": false,
|
218 |
+
"weight_decay": 0.01
|
219 |
+
},
|
220 |
+
"optimizer_defaults": {},
|
221 |
+
"sample_definition_file_name": "training_samples/samples.json",
|
222 |
+
"samples": null,
|
223 |
+
"sample_after": 1,
|
224 |
+
"sample_after_unit": "MINUTE",
|
225 |
+
"sample_image_format": "PNG",
|
226 |
+
"samples_to_tensorboard": true,
|
227 |
+
"non_ema_sampling": true,
|
228 |
+
"backup_after": 10,
|
229 |
+
"backup_after_unit": "MINUTE",
|
230 |
+
"rolling_backup": false,
|
231 |
+
"rolling_backup_count": 3,
|
232 |
+
"backup_before_save": false,
|
233 |
+
"save_after": 0,
|
234 |
+
"save_after_unit": "NEVER",
|
235 |
+
"save_filename_prefix": ""
|
236 |
+
}
|
README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
---
|
2 |
license: creativeml-openrail-m
|
3 |
---
|
4 |
-
This
|
|
|
1 |
---
|
2 |
license: creativeml-openrail-m
|
3 |
---
|
4 |
+
This contains all the files used to create my "faeryqueen" LoRA with OneTrainer
|