Upload folder using huggingface_hub
Browse files- dataset.toml +14 -0
- sagi-000004.safetensors +3 -0
- sagi-000008.safetensors +3 -0
- sagi-000012.safetensors +3 -0
- sample/sagi_000500_00_20250109020552.png +0 -0
- sample/sagi_001000_00_20250109022145.png +0 -0
- sample/sagi_001500_00_20250109023733.png +0 -0
- sample_prompts.txt +1 -0
- train.bat +37 -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:\pinokio\api\fluxgym.git\datasets\sagi'
|
| 13 |
+
class_tokens = 'sagi'
|
| 14 |
+
num_repeats = 10
|
sagi-000004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:139257450be76cab8c97a92eac38bf9ff4caa988330ee2da1fc7e35352bb9942
|
| 3 |
+
size 39759104
|
sagi-000008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ec9735378dd72d1146dbae33f240ecf97f2f9f00bc050e3603fa4c75d36caa8
|
| 3 |
+
size 39759104
|
sagi-000012.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fdf078840ae6c64f3658f7fe99690c34227ebd77d93023b3753075abd3cd647
|
| 3 |
+
size 39759104
|
sample/sagi_000500_00_20250109020552.png
ADDED
|
sample/sagi_001000_00_20250109022145.png
ADDED
|
sample/sagi_001500_00_20250109023733.png
ADDED
|
sample_prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
sagi
|
train.bat
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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:\pinokio\api\fluxgym.git\models\unet\flux1-dev.sft" ^
|
| 6 |
+
--clip_l "C:\pinokio\api\fluxgym.git\models\clip\clip_l.safetensors" ^
|
| 7 |
+
--t5xxl "C:\pinokio\api\fluxgym.git\models\clip\t5xxl_fp16.safetensors" ^
|
| 8 |
+
--ae "C:\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 ^--sample_prompts="C:\pinokio\api\fluxgym.git\outputs\sagi\sample_prompts.txt" --sample_every_n_steps="500" ^
|
| 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:\pinokio\api\fluxgym.git\outputs\sagi\dataset.toml" ^
|
| 31 |
+
--output_dir "C:\pinokio\api\fluxgym.git\outputs\sagi" ^
|
| 32 |
+
--output_name sagi ^
|
| 33 |
+
--timestep_sampling shift ^
|
| 34 |
+
--discrete_flow_shift 3.1582 ^
|
| 35 |
+
--model_prediction_type raw ^
|
| 36 |
+
--guidance_scale 1 ^
|
| 37 |
+
--loss_type l2 ^
|