Upload folder using huggingface_hub
Browse files- .gitattributes +28 -0
- README.md +42 -0
- bluyel2-000004.safetensors +3 -0
- bluyel2-000008.safetensors +3 -0
- bluyel2-000012.safetensors +3 -0
- bluyel2.safetensors +3 -0
- dataset.toml +14 -0
- sample/bluyel2_000100_00_20250929121114_100.png +3 -0
- sample/bluyel2_000100_01_20250929121109_100.png +3 -0
- sample/bluyel2_000100_02_20250929121128_100.png +3 -0
- sample/bluyel2_000100_03_20250929121119_100.png +3 -0
- sample/bluyel2_000200_00_20250929121608_100.png +3 -0
- sample/bluyel2_000200_01_20250929121608_100.png +3 -0
- sample/bluyel2_000200_02_20250929121618_100.png +3 -0
- sample/bluyel2_000200_03_20250929121618_100.png +3 -0
- sample/bluyel2_000300_00_20250929122012_100.png +3 -0
- sample/bluyel2_000300_01_20250929122012_100.png +3 -0
- sample/bluyel2_000300_02_20250929122022_100.png +3 -0
- sample/bluyel2_000300_03_20250929122022_100.png +3 -0
- sample/bluyel2_000400_00_20250929122412_100.png +3 -0
- sample/bluyel2_000400_01_20250929122413_100.png +3 -0
- sample/bluyel2_000400_02_20250929122422_100.png +3 -0
- sample/bluyel2_000400_03_20250929122423_100.png +3 -0
- sample/bluyel2_000500_00_20250929122819_100.png +3 -0
- sample/bluyel2_000500_01_20250929122819_100.png +3 -0
- sample/bluyel2_000500_02_20250929122829_100.png +3 -0
- sample/bluyel2_000500_03_20250929122829_100.png +3 -0
- sample/bluyel2_000600_00_20250929123222_100.png +3 -0
- sample/bluyel2_000600_01_20250929123222_100.png +3 -0
- sample/bluyel2_000600_02_20250929123231_100.png +3 -0
- sample/bluyel2_000600_03_20250929123231_100.png +3 -0
- sample/bluyel2_000700_00_20250929123622_100.png +3 -0
- sample/bluyel2_000700_01_20250929123622_100.png +3 -0
- sample/bluyel2_000700_02_20250929123632_100.png +3 -0
- sample/bluyel2_000700_03_20250929123631_100.png +3 -0
- sample_prompts.txt +4 -0
- train.sh +34 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,31 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
sample/bluyel2_000100_00_20250929121114_100.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
sample/bluyel2_000100_01_20250929121109_100.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
sample/bluyel2_000100_02_20250929121128_100.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
sample/bluyel2_000100_03_20250929121119_100.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
sample/bluyel2_000200_00_20250929121608_100.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
sample/bluyel2_000200_01_20250929121608_100.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
sample/bluyel2_000200_02_20250929121618_100.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
sample/bluyel2_000200_03_20250929121618_100.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
sample/bluyel2_000300_00_20250929122012_100.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
sample/bluyel2_000300_01_20250929122012_100.png filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
sample/bluyel2_000300_02_20250929122022_100.png filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
sample/bluyel2_000300_03_20250929122022_100.png filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
sample/bluyel2_000400_00_20250929122412_100.png filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
sample/bluyel2_000400_01_20250929122413_100.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
sample/bluyel2_000400_02_20250929122422_100.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
sample/bluyel2_000400_03_20250929122423_100.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
sample/bluyel2_000500_00_20250929122819_100.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
sample/bluyel2_000500_01_20250929122819_100.png filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
sample/bluyel2_000500_02_20250929122829_100.png filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
sample/bluyel2_000500_03_20250929122829_100.png filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
sample/bluyel2_000600_00_20250929123222_100.png filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
sample/bluyel2_000600_01_20250929123222_100.png filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
sample/bluyel2_000600_02_20250929123231_100.png filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
sample/bluyel2_000600_03_20250929123231_100.png filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
sample/bluyel2_000700_00_20250929123622_100.png filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
sample/bluyel2_000700_01_20250929123622_100.png filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
sample/bluyel2_000700_02_20250929123632_100.png filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
sample/bluyel2_000700_03_20250929123631_100.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/bluyel2_000100_03_20250929121119_100.png
|
| 12 |
+
text: BluYel2, a dog in a park --d 100
|
| 13 |
+
- output:
|
| 14 |
+
url: sample/bluyel2_000200_03_20250929121618_100.png
|
| 15 |
+
text: BluYel2, a person sitting by a window --d 100
|
| 16 |
+
- output:
|
| 17 |
+
url: sample/bluyel2_000300_03_20250929122022_100.png
|
| 18 |
+
text: BluYel2, a boat on a lake --d 100
|
| 19 |
+
- output:
|
| 20 |
+
url: sample/bluyel2_000500_03_20250929122829_100.png
|
| 21 |
+
text: BluYel2, a cup of coffee on a table --d 100
|
| 22 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 23 |
+
instance_prompt: BluYel2,
|
| 24 |
+
license: other
|
| 25 |
+
license_name: flux-1-dev-non-commercial-license
|
| 26 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
# BluYel2
|
| 30 |
+
|
| 31 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
| 32 |
+
|
| 33 |
+
<Gallery />
|
| 34 |
+
|
| 35 |
+
## Trigger words
|
| 36 |
+
|
| 37 |
+
You should use `BluYel2,` to trigger the image generation.
|
| 38 |
+
|
| 39 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
| 40 |
+
|
| 41 |
+
Weights for this model are available in Safetensors format.
|
| 42 |
+
|
bluyel2-000004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f494325a8d4d26b22bd1b4ed844d14fd31fd99cdc670f62e54e32586e104fe36
|
| 3 |
+
size 39760984
|
bluyel2-000008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be2d7a3fcd11d1baebe512c909e730457b1b2312f44514ec39c3728f786bf91b
|
| 3 |
+
size 39760984
|
bluyel2-000012.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:697897987e79d7f4faf96160f14fed730321cbb84800c1c47e807f88b3f1f4d7
|
| 3 |
+
size 39760984
|
bluyel2.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50a94957d65520152eee2990cbaedba6575b6f41eb9fd013731e021ff91ade31
|
| 3 |
+
size 39760984
|
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 = '/home/Ubuntu/apps/fluxgym/datasets/bluyel2'
|
| 13 |
+
class_tokens = 'BluYel2,'
|
| 14 |
+
num_repeats = 10
|
sample/bluyel2_000100_00_20250929121114_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000100_01_20250929121109_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000100_02_20250929121128_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000100_03_20250929121119_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000200_00_20250929121608_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000200_01_20250929121608_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000200_02_20250929121618_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000200_03_20250929121618_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000300_00_20250929122012_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000300_01_20250929122012_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000300_02_20250929122022_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000300_03_20250929122022_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000400_00_20250929122412_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000400_01_20250929122413_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000400_02_20250929122422_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000400_03_20250929122423_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000500_00_20250929122819_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000500_01_20250929122819_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000500_02_20250929122829_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000500_03_20250929122829_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000600_00_20250929123222_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000600_01_20250929123222_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000600_02_20250929123231_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000600_03_20250929123231_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000700_00_20250929123622_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000700_01_20250929123622_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000700_02_20250929123632_100.png
ADDED
|
Git LFS Details
|
sample/bluyel2_000700_03_20250929123631_100.png
ADDED
|
Git LFS Details
|
sample_prompts.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BluYel2, a dog in a park --d 100
|
| 2 |
+
BluYel2, a person sitting by a window --d 100
|
| 3 |
+
BluYel2, a boat on a lake --d 100
|
| 4 |
+
BluYel2, a cup of coffee on a table --d 100
|
train.sh
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 "/home/Ubuntu/apps/fluxgym/models/unet/flux1-dev.sft" \
|
| 6 |
+
--clip_l "/home/Ubuntu/apps/fluxgym/models/clip/clip_l.safetensors" \
|
| 7 |
+
--t5xxl "/home/Ubuntu/apps/fluxgym/models/clip/t5xxl_fp16.safetensors" \
|
| 8 |
+
--ae "/home/Ubuntu/apps/fluxgym/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="/home/Ubuntu/apps/fluxgym/outputs/bluyel2/sample_prompts.txt" --sample_every_n_steps="100" \
|
| 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 "/home/Ubuntu/apps/fluxgym/outputs/bluyel2/dataset.toml" \
|
| 28 |
+
--output_dir "/home/Ubuntu/apps/fluxgym/outputs/bluyel2" \
|
| 29 |
+
--output_name bluyel2 \
|
| 30 |
+
--timestep_sampling shift \
|
| 31 |
+
--discrete_flow_shift 3.1582 \
|
| 32 |
+
--model_prediction_type raw \
|
| 33 |
+
--guidance_scale 1 \
|
| 34 |
+
--loss_type l2 \
|