Upload folder using huggingface_hub
Browse files- README.md +34 -0
- dataset.toml +14 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000100_00_20241213202316.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000200_00_20241213210004.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000300_00_20241213211843.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000400_00_20241213222626.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000500_00_20241213223925.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000600_00_20241213225338.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000700_00_20241213230840.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000800_00_20241213232322.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_000900_00_20241213234556.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_001000_00_20241214000148.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_001100_00_20241214001454.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_001200_00_20241214002800.png +0 -0
- sample/spanish-elf-on-the-shelf-by-cosmic_001300_00_20241214003948.png +0 -0
- sample_prompts.txt +1 -0
- spanish-elf-on-the-shelf-by-cosmic-000004.safetensors +3 -0
- train.bat +39 -0
README.md
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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/spanish-elf-on-the-shelf-by-cosmic_001300_00_20241214003948.png
|
12 |
+
text: Spanish, tan skin, black hair [elf on the shelf doll with ((tan skin and
|
13 |
+
dark hair:1.3))] standing beside [elf on a shelf doll] reading a book, full-body
|
14 |
+
base_model: black-forest-labs/FLUX.1-dev
|
15 |
+
instance_prompt: Spanish, tan skin, black hair
|
16 |
+
license: other
|
17 |
+
license_name: flux-1-dev-non-commercial-license
|
18 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
19 |
+
---
|
20 |
+
|
21 |
+
# Spanish Elf on the Shelf by Cosmic
|
22 |
+
|
23 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
24 |
+
|
25 |
+
<Gallery />
|
26 |
+
|
27 |
+
## Trigger words
|
28 |
+
|
29 |
+
You should use `Spanish, tan skin, black hair` to trigger the image generation.
|
30 |
+
|
31 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
32 |
+
|
33 |
+
Weights for this model are available in Safetensors format.
|
34 |
+
|
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\richk\pinokio\api\fluxgym.git\datasets\spanish-elf-on-the-shelf-by-cosmic'
|
13 |
+
class_tokens = 'Spanish, tan skin, black hair'
|
14 |
+
num_repeats = 10
|
sample/spanish-elf-on-the-shelf-by-cosmic_000100_00_20241213202316.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_000200_00_20241213210004.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_000300_00_20241213211843.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_000400_00_20241213222626.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_000500_00_20241213223925.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_000600_00_20241213225338.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_000700_00_20241213230840.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_000800_00_20241213232322.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_000900_00_20241213234556.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_001000_00_20241214000148.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_001100_00_20241214001454.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_001200_00_20241214002800.png
ADDED
sample/spanish-elf-on-the-shelf-by-cosmic_001300_00_20241214003948.png
ADDED
sample_prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Spanish, tan skin, black hair [elf on the shelf doll with ((tan skin and dark hair:1.3))] standing beside [elf on a shelf doll] reading a book, full-body
|
spanish-elf-on-the-shelf-by-cosmic-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:884fe56c596f0caec7d7f3abb6041b3f6c1116797f7560421d9cdd260f41b976
|
3 |
+
size 18222772
|
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 "C:\Users\richk\pinokio\api\fluxgym.git\models\unet\flux1-dev.sft" ^
|
6 |
+
--clip_l "C:\Users\richk\pinokio\api\fluxgym.git\models\clip\clip_l.safetensors" ^
|
7 |
+
--t5xxl "C:\Users\richk\pinokio\api\fluxgym.git\models\clip\t5xxl_fp16.safetensors" ^
|
8 |
+
--ae "C:\Users\richk\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="C:\Users\richk\pinokio\api\fluxgym.git\outputs\spanish-elf-on-the-shelf-by-cosmic\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 15 ^
|
31 |
+
--save_every_n_epochs 4 ^
|
32 |
+
--dataset_config "C:\Users\richk\pinokio\api\fluxgym.git\outputs\spanish-elf-on-the-shelf-by-cosmic\dataset.toml" ^
|
33 |
+
--output_dir "C:\Users\richk\pinokio\api\fluxgym.git\outputs\spanish-elf-on-the-shelf-by-cosmic" ^
|
34 |
+
--output_name spanish-elf-on-the-shelf-by-cosmic ^
|
35 |
+
--timestep_sampling shift ^
|
36 |
+
--discrete_flow_shift 3.1582 ^
|
37 |
+
--model_prediction_type raw ^
|
38 |
+
--guidance_scale 1 ^
|
39 |
+
--loss_type l2 ^
|