TheAwakenOne
commited on
Upload folder using huggingface_hub
Browse files- README.md +47 -0
- dataset.toml +14 -0
- graffiti-style-000004.safetensors +3 -0
- graffiti-style-000008.safetensors +3 -0
- graffiti-style-000012.safetensors +3 -0
- graffiti-style.safetensors +3 -0
- sample/graffiti-style_000100_00_20240925054624.png +0 -0
- sample/graffiti-style_000100_01_20240925054840.png +0 -0
- sample/graffiti-style_000100_02_20240925055056.png +0 -0
- sample/graffiti-style_000100_03_20240925055311.png +0 -0
- sample/graffiti-style_000200_00_20240925061045.png +0 -0
- sample/graffiti-style_000200_01_20240925061301.png +0 -0
- sample/graffiti-style_000200_02_20240925061537.png +0 -0
- sample/graffiti-style_000200_03_20240925061823.png +0 -0
- sample/graffiti-style_000300_00_20240925063625.png +0 -0
- sample/graffiti-style_000300_01_20240925063843.png +0 -0
- sample/graffiti-style_000300_02_20240925064108.png +0 -0
- sample/graffiti-style_000300_03_20240925064333.png +0 -0
- sample/graffiti-style_000400_00_20240925070135.png +0 -0
- sample/graffiti-style_000400_01_20240925070351.png +0 -0
- sample/graffiti-style_000400_02_20240925070610.png +0 -0
- sample/graffiti-style_000400_03_20240925070828.png +0 -0
- sample/graffiti-style_000500_00_20240925072648.png +0 -0
- sample/graffiti-style_000500_01_20240925072908.png +0 -0
- sample/graffiti-style_000500_02_20240925073151.png +0 -0
- sample/graffiti-style_000500_03_20240925073413.png +0 -0
- sample/graffiti-style_000600_00_20240925075149.png +0 -0
- sample/graffiti-style_000600_01_20240925075404.png +0 -0
- sample/graffiti-style_000600_02_20240925075620.png +0 -0
- sample/graffiti-style_000600_03_20240925075854.png +0 -0
- sample/graffiti-style_000700_00_20240925081756.png +0 -0
- sample/graffiti-style_000700_01_20240925082014.png +0 -0
- sample/graffiti-style_000700_02_20240925082231.png +0 -0
- sample/graffiti-style_000700_03_20240925082447.png +0 -0
- sample/graffiti-style_000800_00_20240925084142.png +0 -0
- sample/graffiti-style_000800_01_20240925084352.png +0 -0
- sample/graffiti-style_000800_02_20240925084603.png +0 -0
- sample/graffiti-style_000800_03_20240925084813.png +0 -0
- sample_prompts.txt +4 -0
- train.bat +39 -0
README.md
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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/graffiti-style_000800_00_20240925084142.png
|
12 |
+
text: GRFTI writing style, bold 3D letters spelling "AWKN1" in vibrant red and
|
13 |
+
green, cosmic background with stars and planets, cartoon characters
|
14 |
+
- output:
|
15 |
+
url: sample/graffiti-style_000800_01_20240925084352.png
|
16 |
+
text: GRFTI writing style, large stylized letters spelling "PINOKIO" in pastel
|
17 |
+
blue and pink with black outlines, simple urban background, additional tag
|
18 |
+
"FLUX GYM"
|
19 |
+
- output:
|
20 |
+
url: sample/graffiti-style_000800_02_20240925084603.png
|
21 |
+
text: GRFTI writing style, "1990" in green below main text "LORAS" in red 3D letters,
|
22 |
+
space-themed background, abstract shapes, phrase "FLUXIN"
|
23 |
+
- output:
|
24 |
+
url: sample/graffiti-style_000800_03_20240925084813.png
|
25 |
+
text: GRFTI writing style, "AWAKEN" in bold letters with striking color contrast,
|
26 |
+
simple background, urban street art aesthetic, additional tag "ONE"
|
27 |
+
base_model: black-forest-labs/FLUX.1-dev
|
28 |
+
instance_prompt: GRFTI
|
29 |
+
license: other
|
30 |
+
license_name: flux-1-dev-non-commercial-license
|
31 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
32 |
+
---
|
33 |
+
|
34 |
+
# graffiti-style
|
35 |
+
|
36 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
37 |
+
|
38 |
+
<Gallery />
|
39 |
+
|
40 |
+
## Trigger words
|
41 |
+
|
42 |
+
You should use `GRFTI` to trigger the image generation.
|
43 |
+
|
44 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
45 |
+
|
46 |
+
Weights for this model are available in Safetensors format.
|
47 |
+
|
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 = 'E:\AIOne\pinokio\api\fluxgym.git\datasets\graffiti-style'
|
13 |
+
class_tokens = 'GRFTI'
|
14 |
+
num_repeats = 8
|
graffiti-style-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:114e5af59bb1dc7e3646205724f4c33ce338bc0e0ea7528d1552b3626482ea22
|
3 |
+
size 18215364
|
graffiti-style-000008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:639cd8798e708b7af345cc93700bc76ad984dbfe63865346ef82853d1ac0f8e4
|
3 |
+
size 18215364
|
graffiti-style-000012.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:005e82139af2668111766e227edb844f3c180d81020d811c04641fc7181cb8e7
|
3 |
+
size 18215364
|
graffiti-style.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b88ac5bcac68f1a3e77a87d56be448c5bbde968b5341b18f5a85d79259d04fd4
|
3 |
+
size 18215364
|
sample/graffiti-style_000100_00_20240925054624.png
ADDED
sample/graffiti-style_000100_01_20240925054840.png
ADDED
sample/graffiti-style_000100_02_20240925055056.png
ADDED
sample/graffiti-style_000100_03_20240925055311.png
ADDED
sample/graffiti-style_000200_00_20240925061045.png
ADDED
sample/graffiti-style_000200_01_20240925061301.png
ADDED
sample/graffiti-style_000200_02_20240925061537.png
ADDED
sample/graffiti-style_000200_03_20240925061823.png
ADDED
sample/graffiti-style_000300_00_20240925063625.png
ADDED
sample/graffiti-style_000300_01_20240925063843.png
ADDED
sample/graffiti-style_000300_02_20240925064108.png
ADDED
sample/graffiti-style_000300_03_20240925064333.png
ADDED
sample/graffiti-style_000400_00_20240925070135.png
ADDED
sample/graffiti-style_000400_01_20240925070351.png
ADDED
sample/graffiti-style_000400_02_20240925070610.png
ADDED
sample/graffiti-style_000400_03_20240925070828.png
ADDED
sample/graffiti-style_000500_00_20240925072648.png
ADDED
sample/graffiti-style_000500_01_20240925072908.png
ADDED
sample/graffiti-style_000500_02_20240925073151.png
ADDED
sample/graffiti-style_000500_03_20240925073413.png
ADDED
sample/graffiti-style_000600_00_20240925075149.png
ADDED
sample/graffiti-style_000600_01_20240925075404.png
ADDED
sample/graffiti-style_000600_02_20240925075620.png
ADDED
sample/graffiti-style_000600_03_20240925075854.png
ADDED
sample/graffiti-style_000700_00_20240925081756.png
ADDED
sample/graffiti-style_000700_01_20240925082014.png
ADDED
sample/graffiti-style_000700_02_20240925082231.png
ADDED
sample/graffiti-style_000700_03_20240925082447.png
ADDED
sample/graffiti-style_000800_00_20240925084142.png
ADDED
sample/graffiti-style_000800_01_20240925084352.png
ADDED
sample/graffiti-style_000800_02_20240925084603.png
ADDED
sample/graffiti-style_000800_03_20240925084813.png
ADDED
sample_prompts.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GRFTI writing style, bold 3D letters spelling "AWKN1" in vibrant red and green, cosmic background with stars and planets, cartoon characters
|
2 |
+
GRFTI writing style, large stylized letters spelling "PINOKIO" in pastel blue and pink with black outlines, simple urban background, additional tag "FLUX GYM"
|
3 |
+
GRFTI writing style, "1990" in green below main text "LORAS" in red 3D letters, space-themed background, abstract shapes, phrase "FLUXIN"
|
4 |
+
GRFTI writing style, "AWAKEN" in bold letters with striking color contrast, simple background, urban street art aesthetic, additional tag "ONE"
|
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 "E:\AIOne\pinokio\api\fluxgym.git\models\unet\flux1-dev.sft" ^
|
6 |
+
--clip_l "E:\AIOne\pinokio\api\fluxgym.git\models\clip\clip_l.safetensors" ^
|
7 |
+
--t5xxl "E:\AIOne\pinokio\api\fluxgym.git\models\clip\t5xxl_fp16.safetensors" ^
|
8 |
+
--ae "E:\AIOne\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 |
+
--split_mode ^
|
22 |
+
--network_args "train_blocks=single" ^
|
23 |
+
--lr_scheduler constant_with_warmup ^
|
24 |
+
--max_grad_norm 0.0 ^--sample_prompts="E:\AIOne\pinokio\api\fluxgym.git\outputs\graffiti-style\sample_prompts.txt" --sample_every_n_steps="100" ^
|
25 |
+
--learning_rate 8e-4 ^
|
26 |
+
--cache_text_encoder_outputs ^
|
27 |
+
--cache_text_encoder_outputs_to_disk ^
|
28 |
+
--fp8_base ^
|
29 |
+
--highvram ^
|
30 |
+
--max_train_epochs 16 ^
|
31 |
+
--save_every_n_epochs 4 ^
|
32 |
+
--dataset_config "E:\AIOne\pinokio\api\fluxgym.git\outputs\graffiti-style\dataset.toml" ^
|
33 |
+
--output_dir "E:\AIOne\pinokio\api\fluxgym.git\outputs\graffiti-style" ^
|
34 |
+
--output_name graffiti-style ^
|
35 |
+
--timestep_sampling shift ^
|
36 |
+
--discrete_flow_shift 3.1582 ^
|
37 |
+
--model_prediction_type raw ^
|
38 |
+
--guidance_scale 1 ^
|
39 |
+
--loss_type l2 ^
|