TheMindExpansionNetwork
commited on
Commit
•
156d95c
1
Parent(s):
38c7886
Upload folder using huggingface_hub
Browse files- dataset.toml +14 -0
- dr34msc4p3tw1-t-000004.safetensors +3 -0
- dr34msc4p3tw1-t-000008.safetensors +3 -0
- dr34msc4p3tw1-t-000012.safetensors +3 -0
- dr34msc4p3tw1-t.safetensors +3 -0
- sample_prompts.txt +1 -0
- train.sh +34 -0
dataset.toml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[general]
|
2 |
+
shuffle_caption = false
|
3 |
+
caption_extension = '.txt'
|
4 |
+
keep_tokens = 1
|
5 |
+
|
6 |
+
[[datasets]]
|
7 |
+
resolution = 512
|
8 |
+
batch_size = 1
|
9 |
+
keep_tokens = 1
|
10 |
+
|
11 |
+
[[datasets.subsets]]
|
12 |
+
image_dir = '/app/fluxgym/datasets/dr34msc4p3tw1-t'
|
13 |
+
class_tokens = 'luc1d'
|
14 |
+
num_repeats = 10
|
dr34msc4p3tw1-t-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7333779e1263f617571c5570464b76f7398b612af4669041d25eb1a4d1b8172e
|
3 |
+
size 39763520
|
dr34msc4p3tw1-t-000008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7c6dd6e93501d61d5a969801a9df2ce24b8ba5ace90dad1c9976678f079432e
|
3 |
+
size 39763520
|
dr34msc4p3tw1-t-000012.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9dc640a8e5eb4e829401720c66a62cf6d6c83881f3cd923b372e8b97b9856905
|
3 |
+
size 39763520
|
dr34msc4p3tw1-t.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5855c6e3b4af6ede07929a2ed00b0cabddf937ae3e0556762927299b6d3606a0
|
3 |
+
size 39763520
|
sample_prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
luc1d
|
train.sh
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
accelerate launch \
|
2 |
+
--mixed_precision bf16 \
|
3 |
+
--num_cpu_threads_per_process 1 \
|
4 |
+
sd-scripts/flux_train_network.py \
|
5 |
+
--pretrained_model_name_or_path "/app/fluxgym/models/unet/flux1-dev.sft" \
|
6 |
+
--clip_l "/app/fluxgym/models/clip/clip_l.safetensors" \
|
7 |
+
--t5xxl "/app/fluxgym/models/clip/t5xxl_fp16.safetensors" \
|
8 |
+
--ae "/app/fluxgym/models/vae/ae.sft" \
|
9 |
+
--cache_latents_to_disk \
|
10 |
+
--save_model_as safetensors \
|
11 |
+
--sdpa --persistent_data_loader_workers \
|
12 |
+
--max_data_loader_n_workers 2 \
|
13 |
+
--seed 42 \
|
14 |
+
--gradient_checkpointing \
|
15 |
+
--mixed_precision bf16 \
|
16 |
+
--save_precision bf16 \
|
17 |
+
--network_module networks.lora_flux \
|
18 |
+
--network_dim 4 \
|
19 |
+
--optimizer_type adamw8bit \
|
20 |
+
--learning_rate 8e-4 \
|
21 |
+
--cache_text_encoder_outputs \
|
22 |
+
--cache_text_encoder_outputs_to_disk \
|
23 |
+
--fp8_base \
|
24 |
+
--highvram \
|
25 |
+
--max_train_epochs 16 \
|
26 |
+
--save_every_n_epochs 4 \
|
27 |
+
--dataset_config "/app/fluxgym/outputs/dr34msc4p3tw1-t/dataset.toml" \
|
28 |
+
--output_dir "/app/fluxgym/outputs/dr34msc4p3tw1-t" \
|
29 |
+
--output_name dr34msc4p3tw1-t \
|
30 |
+
--timestep_sampling shift \
|
31 |
+
--discrete_flow_shift 3.1582 \
|
32 |
+
--model_prediction_type raw \
|
33 |
+
--guidance_scale 1 \
|
34 |
+
--loss_type l2 \
|