Upload folder using huggingface_hub
Browse files- README.md +41 -0
- dataset.toml +14 -0
- diddy-000004.safetensors +3 -0
- diddy-000008.safetensors +3 -0
- diddy-000012.safetensors +3 -0
- diddy.safetensors +3 -0
- sample/diddy_000160_00_20240918111329.png +0 -0
- sample/diddy_000160_01_20240918111347.png +0 -0
- sample/diddy_000160_02_20240918111404.png +0 -0
- sample/diddy_000320_00_20240918112206.png +0 -0
- sample/diddy_000320_01_20240918112223.png +0 -0
- sample/diddy_000320_02_20240918112241.png +0 -0
- sample/diddy_000480_00_20240918113037.png +0 -0
- sample/diddy_000480_01_20240918113055.png +0 -0
- sample/diddy_000480_02_20240918113112.png +0 -0
- sample/diddy_000640_00_20240918113910.png +0 -0
- sample/diddy_000640_01_20240918113927.png +0 -0
- sample/diddy_000640_02_20240918113945.png +0 -0
- sample/diddy_000800_00_20240918114740.png +0 -0
- sample/diddy_000800_01_20240918114757.png +0 -0
- sample/diddy_000800_02_20240918114814.png +0 -0
- sample/diddy_000960_00_20240918115609.png +0 -0
- sample/diddy_000960_01_20240918115626.png +0 -0
- sample/diddy_000960_02_20240918115643.png +0 -0
- sample_prompts.txt +3 -0
- train.bat +34 -0
README.md
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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/diddy_000960_00_20240918115609.png
|
12 |
+
text: diddy smiling behind a man
|
13 |
+
- output:
|
14 |
+
url: sample/diddy_000960_01_20240918115626.png
|
15 |
+
text: diddy wearing sunglasses standing at the corner of a nightclub, watching
|
16 |
+
people
|
17 |
+
- output:
|
18 |
+
url: sample/diddy_000960_02_20240918115643.png
|
19 |
+
text: diddy wearing sunglasses, on an escalator going up, smiling, staring at
|
20 |
+
something
|
21 |
+
base_model: black-forest-labs/FLUX.1-dev
|
22 |
+
instance_prompt: diddy
|
23 |
+
license: other
|
24 |
+
license_name: flux-1-dev-non-commercial-license
|
25 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
26 |
+
---
|
27 |
+
|
28 |
+
# diddy
|
29 |
+
|
30 |
+
Trained with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
31 |
+
|
32 |
+
<Gallery />
|
33 |
+
|
34 |
+
## Trigger words
|
35 |
+
|
36 |
+
You should use `diddy` to trigger the image generation.
|
37 |
+
|
38 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
39 |
+
|
40 |
+
Weights for this model are available in Safetensors format.
|
41 |
+
|
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\diddy'
|
13 |
+
class_tokens = 'diddy'
|
14 |
+
num_repeats = 10
|
diddy-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d37dab0ab8cd92694f11f22604c28aba3d60dd3ba4480ad811b72a9278453f1
|
3 |
+
size 39757096
|
diddy-000008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44636030537dfa604ddeb43da489fc4eb0099860266bbb1fb861c9bee4054a4d
|
3 |
+
size 39757088
|
diddy-000012.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:564c8d0e44727506298f1f60307a7c7b771cc4ddcafeac688461618170c1b3b7
|
3 |
+
size 39757096
|
diddy.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8139d8436f0475b4a93adb0afbfbaf25b9305d35e23657b7995893cdbd1aa414
|
3 |
+
size 39757096
|
sample/diddy_000160_00_20240918111329.png
ADDED
![]() |
sample/diddy_000160_01_20240918111347.png
ADDED
![]() |
sample/diddy_000160_02_20240918111404.png
ADDED
![]() |
sample/diddy_000320_00_20240918112206.png
ADDED
![]() |
sample/diddy_000320_01_20240918112223.png
ADDED
![]() |
sample/diddy_000320_02_20240918112241.png
ADDED
![]() |
sample/diddy_000480_00_20240918113037.png
ADDED
![]() |
sample/diddy_000480_01_20240918113055.png
ADDED
![]() |
sample/diddy_000480_02_20240918113112.png
ADDED
![]() |
sample/diddy_000640_00_20240918113910.png
ADDED
![]() |
sample/diddy_000640_01_20240918113927.png
ADDED
![]() |
sample/diddy_000640_02_20240918113945.png
ADDED
![]() |
sample/diddy_000800_00_20240918114740.png
ADDED
![]() |
sample/diddy_000800_01_20240918114757.png
ADDED
![]() |
sample/diddy_000800_02_20240918114814.png
ADDED
![]() |
sample/diddy_000960_00_20240918115609.png
ADDED
![]() |
sample/diddy_000960_01_20240918115626.png
ADDED
![]() |
sample/diddy_000960_02_20240918115643.png
ADDED
![]() |
sample_prompts.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
diddy smiling behind a man
|
2 |
+
diddy wearing sunglasses standing at the corner of a nightclub, watching people
|
3 |
+
diddy wearing sunglasses, on an escalator going up, smiling, staring at something
|
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-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 adamw8bit ^--sample_prompts="C:\pinokio\api\fluxgym.git\outputs\diddy\sample_prompts.txt" --sample_every_n_steps="160" ^
|
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\diddy\dataset.toml" ^
|
28 |
+
--output_dir "C:\pinokio\api\fluxgym.git\outputs\diddy" ^
|
29 |
+
--output_name diddy ^
|
30 |
+
--timestep_sampling shift ^
|
31 |
+
--discrete_flow_shift 3.1582 ^
|
32 |
+
--model_prediction_type raw ^
|
33 |
+
--guidance_scale 1 ^
|
34 |
+
--loss_type l2 ^
|