cocktailpeanut commited on
Commit
09d25c4
1 Parent(s): 6af7f3e

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - fluxgym
9
+ widget:
10
+ - output:
11
+ url: sample/akira-schnell_001200_00_20240925132113.png
12
+ text: a scene from akira, a 8 year old girl and an old woman walking across a
13
+ street
14
+ - output:
15
+ url: sample/akira-schnell_001200_01_20240925132118.png
16
+ text: a scene from akira, a guy eating ramen
17
+ - output:
18
+ url: sample/akira-schnell_001200_02_20240925132123.png
19
+ text: a scene from akira, two people playing tennis
20
+ base_model: black-forest-labs/FLUX.1-schnell
21
+ instance_prompt: from akira
22
+ license: apache-2.0
23
+ ---
24
+
25
+ # akira-schnell
26
+
27
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
28
+
29
+ <Gallery />
30
+
31
+ ## Trigger words
32
+
33
+ You should use `from akira` to trigger the image generation.
34
+
35
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
36
+
37
+ Weights for this model are available in Safetensors format.
38
+
akira-schnell-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4940c9777c11edbf422e42d47b697524ee79300f425b9d6d7ab8d08c7bc0f8d
3
+ size 39757168
akira-schnell-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e086a5baabc8c3549a4fdb429828db1e155896dc61c4ecbc8709d0794a562b4
3
+ size 39757176
akira-schnell-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a82f29d4fefc3b07b452c87412d89460493efcb3cb66e82f5c4404c65f8ca65d
3
+ size 39757176
akira-schnell.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa84a8f7d58d01146a68ec4aa2cb57e14ceec75d14c0e83b9dac01c47e5a9a4a
3
+ size 39757176
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\akira-schnell'
13
+ class_tokens = 'from akira'
14
+ num_repeats = 5
sample/akira-schnell_000200_00_20240925130433.png ADDED
sample/akira-schnell_000200_01_20240925130438.png ADDED
sample/akira-schnell_000200_02_20240925130443.png ADDED
sample/akira-schnell_000400_00_20240925130753.png ADDED
sample/akira-schnell_000400_01_20240925130758.png ADDED
sample/akira-schnell_000400_02_20240925130803.png ADDED
sample/akira-schnell_000600_00_20240925131112.png ADDED
sample/akira-schnell_000600_01_20240925131117.png ADDED
sample/akira-schnell_000600_02_20240925131123.png ADDED
sample/akira-schnell_000800_00_20240925131432.png ADDED
sample/akira-schnell_000800_01_20240925131437.png ADDED
sample/akira-schnell_000800_02_20240925131443.png ADDED
sample/akira-schnell_001000_00_20240925131753.png ADDED
sample/akira-schnell_001000_01_20240925131758.png ADDED
sample/akira-schnell_001000_02_20240925131803.png ADDED
sample/akira-schnell_001200_00_20240925132113.png ADDED
sample/akira-schnell_001200_01_20240925132118.png ADDED
sample/akira-schnell_001200_02_20240925132123.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ a scene from akira, a 8 year old girl and an old woman walking across a street
2
+ a scene from akira, a guy eating ramen
3
+ a scene from akira, two people playing tennis
train.bat 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 "C:\pinokio\api\fluxgym.git\models\unet\flux1-schnell.safetensors" ^
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 adamw8bit ^--sample_prompts="C:\pinokio\api\fluxgym.git\outputs\akira-schnell\sample_prompts.txt" --sample_every_n_steps="200" ^
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 "C:\pinokio\api\fluxgym.git\outputs\akira-schnell\dataset.toml" ^
28
+ --output_dir "C:\pinokio\api\fluxgym.git\outputs\akira-schnell" ^
29
+ --output_name akira-schnell ^
30
+ --timestep_sampling shift ^
31
+ --discrete_flow_shift 3.1582 ^
32
+ --model_prediction_type raw ^
33
+ --guidance_scale 1 ^
34
+ --loss_type l2 ^