TheAwakenOne commited on
Commit
c7689bc
1 Parent(s): 63593b3

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/rockbrow_000600_00_20240923012101.png
12
+ text: PeopleBrow man with intense gaze, close-up portrait
13
+ - output:
14
+ url: sample/rockbrow_000600_01_20240923012312.png
15
+ text: PeopleBrow Albert Einstein with intense gaze while reading newspaper
16
+ - output:
17
+ url: sample/rockbrow_000600_02_20240923012526.png
18
+ text: PeopleBrow cyberpunk detective, neon-lit rainy street, one eyebrow raised
19
+ suspiciously, futuristic cityscape background
20
+ - output:
21
+ url: sample/rockbrow_000600_03_20240923012739.png
22
+ text: PeopleBrow ancient Greek philosopher, toga-clad, contemplative expression,
23
+ marble bust style
24
+ base_model: black-forest-labs/FLUX.1-dev
25
+ instance_prompt: PeopleBrow
26
+ license: other
27
+ license_name: flux-1-dev-non-commercial-license
28
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
29
+ ---
30
+
31
+ # rockbrow
32
+
33
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
34
+
35
+ <Gallery />
36
+
37
+ ## Trigger words
38
+
39
+ You should use `PeopleBrow` to trigger the image generation.
40
+
41
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
42
+
43
+ Weights for this model are available in Safetensors format.
44
+
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\rockbrow'
13
+ class_tokens = 'PeopleBrow'
14
+ num_repeats = 10
rockbrow-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e936a81c8a2966fc831225ffb96066ff2890afc841222640891cf059544f6e3
3
+ size 18209924
rockbrow-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34892b3dce160f2802a223b2b64d9187aa6561e94e542ce924fae4d08ef5a2cb
3
+ size 18209924
rockbrow-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71e65c6baafbf05292303bf5cf8a00b927021b9423611894c7ab4f39eb205808
3
+ size 18209924
rockbrow.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1977321864e77cf102ac1840c0eb6acbe4bfba3ce74baf486af6c149e4433789
3
+ size 18209924
sample/rockbrow_000100_00_20240922232244.png ADDED
sample/rockbrow_000100_01_20240922232458.png ADDED
sample/rockbrow_000100_02_20240922232714.png ADDED
sample/rockbrow_000100_03_20240922232928.png ADDED
sample/rockbrow_000200_00_20240922234636.png ADDED
sample/rockbrow_000200_01_20240922234848.png ADDED
sample/rockbrow_000200_02_20240922235058.png ADDED
sample/rockbrow_000200_03_20240922235309.png ADDED
sample/rockbrow_000300_00_20240923001005.png ADDED
sample/rockbrow_000300_01_20240923001214.png ADDED
sample/rockbrow_000300_02_20240923001423.png ADDED
sample/rockbrow_000300_03_20240923001634.png ADDED
sample/rockbrow_000400_00_20240923003344.png ADDED
sample/rockbrow_000400_01_20240923003556.png ADDED
sample/rockbrow_000400_02_20240923003810.png ADDED
sample/rockbrow_000400_03_20240923004023.png ADDED
sample/rockbrow_000500_00_20240923005728.png ADDED
sample/rockbrow_000500_01_20240923005939.png ADDED
sample/rockbrow_000500_02_20240923010149.png ADDED
sample/rockbrow_000500_03_20240923010401.png ADDED
sample/rockbrow_000600_00_20240923012101.png ADDED
sample/rockbrow_000600_01_20240923012312.png ADDED
sample/rockbrow_000600_02_20240923012526.png ADDED
sample/rockbrow_000600_03_20240923012739.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ PeopleBrow man with intense gaze, close-up portrait
2
+ PeopleBrow Albert Einstein with intense gaze while reading newspaper
3
+ PeopleBrow cyberpunk detective, neon-lit rainy street, one eyebrow raised suspiciously, futuristic cityscape background
4
+ PeopleBrow ancient Greek philosopher, toga-clad, contemplative expression, marble bust style
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\rockbrow\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\rockbrow\dataset.toml" ^
33
+ --output_dir "E:\AIOne\pinokio\api\fluxgym.git\outputs\rockbrow" ^
34
+ --output_name rockbrow ^
35
+ --timestep_sampling shift ^
36
+ --discrete_flow_shift 3.1582 ^
37
+ --model_prediction_type raw ^
38
+ --guidance_scale 1 ^
39
+ --loss_type l2 ^