Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,30 @@ Trained with `sd-scripts` (Aug. 11) `sd3` branch.
|
|
7 |
accelerate launch --mixed_precision bf16 --num_cpu_threads_per_process 1 flux_train_network.py --pretrained_model_name_or_path flux1/flux1-dev.sft --clip_l sd3/clip_l.safetensors --t5xxl sd3/t5xxl_fp16.safetensors --ae flux1/ae_dev.sft --cache_latents_to_disk --save_model_as safetensors --sdpa --persistent_data_loader_workers --max_data_loader_n_workers 2 --seed 42 --gradient_checkpointing --mixed_precision bf16 --save_precision bf16 --network_module networks.lora_flux --network_dim 4 --optimizer_type adamw8bit --learning_rate 1e-3 --network_train_unet_only --cache_text_encoder_outputs --cache_text_encoder_outputs_to_disk --highvram --max_train_epochs 4 --save_every_n_epochs 1 --dataset_config hasui_1024_bs1.toml --output_dir flux/lora --output_name lora-name --timestep_sampling sigmoid --model_prediction_type raw --guidance_scale 1.0
|
8 |
```
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
## sdxl-negprompt8-v1m.safetensors
|
11 |
Negative embeddings for sdxl. Num vectors per token = 8
|
12 |
|
|
|
7 |
accelerate launch --mixed_precision bf16 --num_cpu_threads_per_process 1 flux_train_network.py --pretrained_model_name_or_path flux1/flux1-dev.sft --clip_l sd3/clip_l.safetensors --t5xxl sd3/t5xxl_fp16.safetensors --ae flux1/ae_dev.sft --cache_latents_to_disk --save_model_as safetensors --sdpa --persistent_data_loader_workers --max_data_loader_n_workers 2 --seed 42 --gradient_checkpointing --mixed_precision bf16 --save_precision bf16 --network_module networks.lora_flux --network_dim 4 --optimizer_type adamw8bit --learning_rate 1e-3 --network_train_unet_only --cache_text_encoder_outputs --cache_text_encoder_outputs_to_disk --highvram --max_train_epochs 4 --save_every_n_epochs 1 --dataset_config hasui_1024_bs1.toml --output_dir flux/lora --output_name lora-name --timestep_sampling sigmoid --model_prediction_type raw --guidance_scale 1.0
|
8 |
```
|
9 |
|
10 |
+
.toml is below.
|
11 |
+
```.toml
|
12 |
+
[general]
|
13 |
+
flip_aug = true
|
14 |
+
color_aug = false
|
15 |
+
|
16 |
+
[[datasets]]
|
17 |
+
enable_bucket = true
|
18 |
+
resolution = [1024,1024]
|
19 |
+
bucket_reso_steps = 64
|
20 |
+
max_bucket_reso = 2048
|
21 |
+
min_bucket_reso = 128
|
22 |
+
bucket_no_upscale = false
|
23 |
+
batch_size = 1
|
24 |
+
random_crop = false
|
25 |
+
shuffle_caption = false
|
26 |
+
|
27 |
+
[[datasets.subsets]]
|
28 |
+
image_dir = "path/to/train/images"
|
29 |
+
num_repeats = 1
|
30 |
+
caption_extension = ".txt"
|
31 |
+
```
|
32 |
+
|
33 |
+
|
34 |
## sdxl-negprompt8-v1m.safetensors
|
35 |
Negative embeddings for sdxl. Num vectors per token = 8
|
36 |
|