Upload folder using huggingface_hub
Browse files- dataset.toml +14 -0
- mr-krabs-000004.safetensors +3 -0
- mr-krabs-000008.safetensors +3 -0
- mr-krabs-000012.safetensors +3 -0
- mr-krabs.safetensors +3 -0
- sample_prompts.txt +3 -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:\Users\micha\pinokio\api\fluxgym.git\datasets\mr-krabs'
|
13 |
+
class_tokens = 'KR4BS'
|
14 |
+
num_repeats = 8
|
mr-krabs-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b74e048bfc73d8188227272c0481bc6b1554ac731ac714ce99ab446e4f78bd8
|
3 |
+
size 39760808
|
mr-krabs-000008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b4184c8291425760b1c9fea30d9586db20fa458ea4610422f023e4f77fb2002
|
3 |
+
size 39760808
|
mr-krabs-000012.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:348b13756435156465ac3b0b2525ae81df8d704ece4e88d4d3ae21a85ac64141
|
3 |
+
size 39760808
|
mr-krabs.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fe077fbcde30f638f641d6d43da63d2d446390fd231ce111bf3516007552dd0
|
3 |
+
size 39760808
|
sample_prompts.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
KR4BS infront a car --d 42
|
2 |
+
KR4BS is riding a bike --d 42
|
3 |
+
KR4BS is a rock star --d 42
|
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:\Users\micha\pinokio\api\fluxgym.git\models\unet\bdsqlsz\flux1-dev2pro-single\flux1-dev2pro.safetensors" ^
|
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\mr-krabs\dataset.toml" ^
|
31 |
+
--output_dir "C:\Users\micha\pinokio\api\fluxgym.git\outputs\mr-krabs" ^
|
32 |
+
--output_name mr-krabs ^
|
33 |
+
--timestep_sampling shift ^
|
34 |
+
--discrete_flow_shift 3.1582 ^
|
35 |
+
--model_prediction_type raw ^
|
36 |
+
--guidance_scale 1 ^
|
37 |
+
--loss_type l2 ^
|