TheMindExpansionNetwork
commited on
Commit
•
3d4264d
1
Parent(s):
6969ac9
Upload folder using huggingface_hub
Browse files- dataset.toml +14 -0
- fung1-m4st3rz-000004.safetensors +3 -0
- fung1-m4st3rz-000008.safetensors +3 -0
- fung1-m4st3rz-000012.safetensors +3 -0
- fung1-m4st3rz.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/fung1-m4st3rz'
|
13 |
+
class_tokens = 'fung1m4st3rz'
|
14 |
+
num_repeats = 10
|
fung1-m4st3rz-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2dd35fb265d206bc2adb01c6d41db137c305a3a103dc25c8eac8130b98c7fa8
|
3 |
+
size 39761736
|
fung1-m4st3rz-000008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44c7ac816c781313573463999e2739691fc1074cccd32d3d0e0ecfb7c2fc41fe
|
3 |
+
size 39761736
|
fung1-m4st3rz-000012.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c399313464dca6f1ea49af5caba70ddc1c7c09586da1b58cf6777f07affb04b5
|
3 |
+
size 39761736
|
fung1-m4st3rz.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d74928133ee5ab21c88cfc096d250153e7ee2a812b902e75c36fdcc65207d001
|
3 |
+
size 39761736
|
sample_prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
fung1m4st3rz, psychedelic characters in a surreal forest of glowing mushrooms, vibrant colors, and intricate details.
|
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/fung1-m4st3rz/dataset.toml" \
|
28 |
+
--output_dir "/app/fluxgym/outputs/fung1-m4st3rz" \
|
29 |
+
--output_name fung1-m4st3rz \
|
30 |
+
--timestep_sampling shift \
|
31 |
+
--discrete_flow_shift 3.1582 \
|
32 |
+
--model_prediction_type raw \
|
33 |
+
--guidance_scale 1 \
|
34 |
+
--loss_type l2 \
|