exploer commited on
Commit
e3bc5b3
1 Parent(s): 16346f0

Upload folder using huggingface_hub

Browse files
Files changed (41) hide show
  1. README.md +38 -0
  2. dataset.toml +14 -0
  3. sample/tomasbilytestpro_000075_00_20241025044049.png +0 -0
  4. sample/tomasbilytestpro_000075_01_20241025044100.png +0 -0
  5. sample/tomasbilytestpro_000150_00_20241025044340.png +0 -0
  6. sample/tomasbilytestpro_000150_01_20241025044352.png +0 -0
  7. sample/tomasbilytestpro_000225_00_20241025044633.png +0 -0
  8. sample/tomasbilytestpro_000225_01_20241025044644.png +0 -0
  9. sample/tomasbilytestpro_000300_00_20241025044925.png +0 -0
  10. sample/tomasbilytestpro_000300_01_20241025044937.png +0 -0
  11. sample/tomasbilytestpro_000375_00_20241025045217.png +0 -0
  12. sample/tomasbilytestpro_000375_01_20241025045229.png +0 -0
  13. sample/tomasbilytestpro_000450_00_20241025045509.png +0 -0
  14. sample/tomasbilytestpro_000450_01_20241025045521.png +0 -0
  15. sample/tomasbilytestpro_000525_00_20241025045801.png +0 -0
  16. sample/tomasbilytestpro_000525_01_20241025045813.png +0 -0
  17. sample/tomasbilytestpro_000600_00_20241025050054.png +0 -0
  18. sample/tomasbilytestpro_000600_01_20241025050106.png +0 -0
  19. sample/tomasbilytestpro_000675_00_20241025050346.png +0 -0
  20. sample/tomasbilytestpro_000675_01_20241025050358.png +0 -0
  21. sample/tomasbilytestpro_000750_00_20241025050639.png +0 -0
  22. sample/tomasbilytestpro_000750_01_20241025050651.png +0 -0
  23. sample/tomasbilytestpro_000825_00_20241025050931.png +0 -0
  24. sample/tomasbilytestpro_000825_01_20241025050943.png +0 -0
  25. sample/tomasbilytestpro_000900_00_20241025051223.png +0 -0
  26. sample/tomasbilytestpro_000900_01_20241025051235.png +0 -0
  27. sample/tomasbilytestpro_000975_00_20241025051515.png +0 -0
  28. sample/tomasbilytestpro_000975_01_20241025051527.png +0 -0
  29. sample/tomasbilytestpro_001050_00_20241025051807.png +0 -0
  30. sample/tomasbilytestpro_001050_01_20241025051819.png +0 -0
  31. sample/tomasbilytestpro_001125_00_20241025052059.png +0 -0
  32. sample/tomasbilytestpro_001125_01_20241025052111.png +0 -0
  33. sample/tomasbilytestpro_001200_00_20241025052351.png +0 -0
  34. sample/tomasbilytestpro_001200_01_20241025052403.png +0 -0
  35. sample/tomasbilytestpro_001275_00_20241025052643.png +0 -0
  36. sample/tomasbilytestpro_001275_01_20241025052655.png +0 -0
  37. sample_prompts.txt +4 -0
  38. tomasbilytestpro-000003.safetensors +3 -0
  39. tomasbilytestpro-000006.safetensors +3 -0
  40. tomasbilytestpro.safetensors +3 -0
  41. train.sh +34 -0
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/tomasbilytestpro_001275_00_20241025052643.png
12
+ text: tomasbily a man standing in a field wearing a blue t-shirt and a grey jacket.
13
+ The background of the image is filled with lush green grass and tall trees.
14
+ - output:
15
+ url: sample/tomasbilytestpro_001275_01_20241025052655.png
16
+ text: tomasbily a man with a beard wearing a grey t-shirt, looking directly at
17
+ the camera with a blurred background.
18
+ base_model: black-forest-labs/FLUX.1-dev
19
+ instance_prompt: tomasbily
20
+ license: other
21
+ license_name: flux-1-dev-non-commercial-license
22
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
23
+ ---
24
+
25
+ # tomasbilytestpro
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 `tomasbily` 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
+
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 = '/app/fluxgym/datasets/tomasbilytestpro'
13
+ class_tokens = 'tomasbily'
14
+ num_repeats = 8
sample/tomasbilytestpro_000075_00_20241025044049.png ADDED
sample/tomasbilytestpro_000075_01_20241025044100.png ADDED
sample/tomasbilytestpro_000150_00_20241025044340.png ADDED
sample/tomasbilytestpro_000150_01_20241025044352.png ADDED
sample/tomasbilytestpro_000225_00_20241025044633.png ADDED
sample/tomasbilytestpro_000225_01_20241025044644.png ADDED
sample/tomasbilytestpro_000300_00_20241025044925.png ADDED
sample/tomasbilytestpro_000300_01_20241025044937.png ADDED
sample/tomasbilytestpro_000375_00_20241025045217.png ADDED
sample/tomasbilytestpro_000375_01_20241025045229.png ADDED
sample/tomasbilytestpro_000450_00_20241025045509.png ADDED
sample/tomasbilytestpro_000450_01_20241025045521.png ADDED
sample/tomasbilytestpro_000525_00_20241025045801.png ADDED
sample/tomasbilytestpro_000525_01_20241025045813.png ADDED
sample/tomasbilytestpro_000600_00_20241025050054.png ADDED
sample/tomasbilytestpro_000600_01_20241025050106.png ADDED
sample/tomasbilytestpro_000675_00_20241025050346.png ADDED
sample/tomasbilytestpro_000675_01_20241025050358.png ADDED
sample/tomasbilytestpro_000750_00_20241025050639.png ADDED
sample/tomasbilytestpro_000750_01_20241025050651.png ADDED
sample/tomasbilytestpro_000825_00_20241025050931.png ADDED
sample/tomasbilytestpro_000825_01_20241025050943.png ADDED
sample/tomasbilytestpro_000900_00_20241025051223.png ADDED
sample/tomasbilytestpro_000900_01_20241025051235.png ADDED
sample/tomasbilytestpro_000975_00_20241025051515.png ADDED
sample/tomasbilytestpro_000975_01_20241025051527.png ADDED
sample/tomasbilytestpro_001050_00_20241025051807.png ADDED
sample/tomasbilytestpro_001050_01_20241025051819.png ADDED
sample/tomasbilytestpro_001125_00_20241025052059.png ADDED
sample/tomasbilytestpro_001125_01_20241025052111.png ADDED
sample/tomasbilytestpro_001200_00_20241025052351.png ADDED
sample/tomasbilytestpro_001200_01_20241025052403.png ADDED
sample/tomasbilytestpro_001275_00_20241025052643.png ADDED
sample/tomasbilytestpro_001275_01_20241025052655.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ tomasbily a man standing in a field wearing a blue t-shirt and a grey jacket. The background of the image is filled with lush green grass and tall trees.
2
+ tomasbily a man with a beard wearing a grey t-shirt, looking directly at the camera with a blurred background.
3
+
4
+
tomasbilytestpro-000003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b482859b2e273bf9a5aed9326222567c36c949ade8cf995f5b7193fa1d64207
3
+ size 158614408
tomasbilytestpro-000006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d62dbf4da5fe0247f5b7ba69cb86ce7bc3ebbe148cd5e504c7de52a3f791e3d
3
+ size 158614408
tomasbilytestpro.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea14b2b5b790c3263771ec325091ad854feb96ebc55be00818367a6850e32a99
3
+ size 158614416
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 "/app/fluxgym/models/unet/bdsqlsz/flux1-dev2pro-single/flux1-dev2pro.safetensors" \
6
+ --clip_l "/app/fluxgym/models/clip/clip_l.safetensors" \
7
+ --t5xxl "/app/fluxgym/models/clip/t5xxl_fp16.safetensors" \
8
+ --ae "/app/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 16 \
19
+ --optimizer_type adamw8bit \--sample_prompts="/app/fluxgym/outputs/tomasbilytestpro/sample_prompts.txt" --sample_every_n_steps="75" \
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 7 \
26
+ --save_every_n_epochs 3 \
27
+ --dataset_config "/app/fluxgym/outputs/tomasbilytestpro/dataset.toml" \
28
+ --output_dir "/app/fluxgym/outputs/tomasbilytestpro" \
29
+ --output_name tomasbilytestpro \
30
+ --timestep_sampling shift \
31
+ --discrete_flow_shift 3.1582 \
32
+ --model_prediction_type raw \
33
+ --guidance_scale 1 \
34
+ --loss_type l2 \