Upload folder using huggingface_hub
Browse files- dataset.toml +14 -0
- sample_prompts.txt +3 -0
- train.bat +39 -0
- youngkollegah-000004-state/model.safetensors +3 -0
- youngkollegah-000004-state/optimizer.bin +3 -0
- youngkollegah-000004-state/random_states_0.pkl +3 -0
- youngkollegah-000004-state/scheduler.bin +3 -0
- youngkollegah-000004-state/train_state.json +1 -0
- youngkollegah-000004.safetensors +3 -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 = 'C:\Users\micha\pinokio\api\fluxgym.git\datasets\youngkollegah'
|
13 |
+
class_tokens = 'K0lleg4h08 person'
|
14 |
+
num_repeats = 15
|
sample_prompts.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
K0lleg4h08 person is a body builder --d 42
|
2 |
+
K0lleg4h08 person looking like a pimp in the redlight with a furcoat --d 42
|
3 |
+
K0lleg4h08 person holding a bag full of weed infront a sign saying "Maastricht"
|
train.bat
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 "C:\Users\micha\pinokio\api\fluxgym.git\models\unet\flux1-dev.sft" ^
|
6 |
+
--clip_l "C:\Users\micha\pinokio\api\fluxgym.git\models\clip\clip_l.safetensors" ^
|
7 |
+
--t5xxl "C:\Users\micha\pinokio\api\fluxgym.git\models\clip\t5xxl_fp16.safetensors" ^
|
8 |
+
--ae "C:\Users\micha\pinokio\api\fluxgym.git\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 adafactor ^
|
20 |
+
--optimizer_args "relative_step=False" "scale_parameter=False" "warmup_init=False" ^
|
21 |
+
--lr_scheduler constant_with_warmup ^
|
22 |
+
--max_grad_norm 0.0 ^
|
23 |
+
--learning_rate 8e-4 ^
|
24 |
+
--cache_text_encoder_outputs ^
|
25 |
+
--cache_text_encoder_outputs_to_disk ^
|
26 |
+
--fp8_base ^
|
27 |
+
--highvram ^
|
28 |
+
--max_train_epochs 16 ^
|
29 |
+
--save_every_n_epochs 4 ^
|
30 |
+
--dataset_config "C:\Users\micha\pinokio\api\fluxgym.git\outputs\youngkollegah\dataset.toml" ^
|
31 |
+
--output_dir "C:\Users\micha\pinokio\api\fluxgym.git\outputs\youngkollegah" ^
|
32 |
+
--output_name youngkollegah ^
|
33 |
+
--timestep_sampling shift ^
|
34 |
+
--discrete_flow_shift 3.1582 ^
|
35 |
+
--model_prediction_type raw ^
|
36 |
+
--guidance_scale 1 ^
|
37 |
+
--loss_type l2 ^
|
38 |
+
--save_state ^
|
39 |
+
--save_state_on_train_end
|
youngkollegah-000004-state/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6768617fe9412c7723e175cd94ba420ceae115576ad6e8cc2bbf12e2b349615
|
3 |
+
size 79368944
|
youngkollegah-000004-state/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d6bfb71d91c781bed878db1f51af0e17817c20982d1f9f5414002ca845d81e0
|
3 |
+
size 20447714
|
youngkollegah-000004-state/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7731d4cabfcf2cbbcb5ae06175f94f415cd6a5b92638d0faa5f958731807c162
|
3 |
+
size 14344
|
youngkollegah-000004-state/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cf0fee381466f5e223762c67d55aec0c073926027886c66b0f17ad8131c2b84
|
3 |
+
size 1064
|
youngkollegah-000004-state/train_state.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"current_epoch": 4, "current_step": 300}
|
youngkollegah-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2aecf391f1bfd7f42cd993f98881284c72d6c303e0a919fab8988a9c3b68a509
|
3 |
+
size 39758936
|