VHKE commited on
Commit
54f72cf
1 Parent(s): 1694405

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/becc_000500_01_20241120214637_45.png
12
+ text: BECC box of beco product placed on a table --d 45
13
+ - output:
14
+ url: sample/becc_001000_01_20241120215828_45.png
15
+ text: BECC box of beco placed next to a Bernese mountain dog --d 45
16
+ base_model: black-forest-labs/FLUX.1-dev
17
+ instance_prompt: BECC
18
+ license: other
19
+ license_name: flux-1-dev-non-commercial-license
20
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
21
+ ---
22
+
23
+ # BECC
24
+
25
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
26
+
27
+ <Gallery />
28
+
29
+ ## Trigger words
30
+
31
+ You should use `BECC` to trigger the image generation.
32
+
33
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
34
+
35
+ Weights for this model are available in Safetensors format.
36
+
becc-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef82f17e3a6426460051ff44a830f6882c64e1a0f07bca0fe139a791e29b2bdf
3
+ size 39760920
becc-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee3e2c6b8de23576b700f45ec47a5082c2b25fac6cb46ddac5f9bf33858b144a
3
+ size 39760920
becc-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85a26f52bd123b358ebdbe195d0e3d4d452d1d6eb5e1d7c9eaed6c3cf65ec1e
3
+ size 39760920
becc.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d16ff10e568fe9acc76a81e599893f068a8b03d3bad4c69ca49fd2ecb4453be4
3
+ size 39760920
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\marko\Downloads\FLUXGYM\fluxgym\datasets\becc'
13
+ class_tokens = 'BECC'
14
+ num_repeats = 10
sample/becc_000500_00_20241120214631_45.png ADDED
sample/becc_000500_01_20241120214637_45.png ADDED
sample/becc_001000_00_20241120215822_45.png ADDED
sample/becc_001000_01_20241120215828_45.png ADDED
sample/becc_001500_00_20241120221027_45.png ADDED
sample/becc_001500_01_20241120221034_45.png ADDED
sample/becc_002000_00_20241120222231_45.png ADDED
sample/becc_002000_01_20241120222237_45.png ADDED
sample/becc_002500_00_20241120223451_45.png ADDED
sample/becc_002500_01_20241120223457_45.png ADDED
sample/becc_003000_00_20241120224719_45.png ADDED
sample/becc_003000_01_20241120224726_45.png ADDED
sample/becc_003500_00_20241120225906_45.png ADDED
sample/becc_003500_01_20241120225912_45.png ADDED
sample/becc_004000_00_20241120231050_45.png ADDED
sample/becc_004000_01_20241120231057_45.png ADDED
sample/becc_004500_00_20241120232235_45.png ADDED
sample/becc_004500_01_20241120232241_45.png ADDED
sample/becc_005000_00_20241120233421_45.png ADDED
sample/becc_005000_01_20241120233428_45.png ADDED
sample/becc_005500_00_20241120234605_45.png ADDED
sample/becc_005500_01_20241120234611_45.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ BECC box of beco product placed on a table --d 45
2
+ BECC box of beco placed next to a Bernese mountain dog --d 45
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:\Users\marko\Downloads\FLUXGYM\fluxgym\models\unet\flux1-dev.sft" ^
6
+ --clip_l "C:\Users\marko\Downloads\FLUXGYM\fluxgym\models\clip\clip_l.safetensors" ^
7
+ --t5xxl "C:\Users\marko\Downloads\FLUXGYM\fluxgym\models\clip\t5xxl_fp16.safetensors" ^
8
+ --ae "C:\Users\marko\Downloads\FLUXGYM\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="C:\Users\marko\Downloads\FLUXGYM\fluxgym\outputs\becc\sample_prompts.txt" --sample_every_n_steps="500" ^
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:\Users\marko\Downloads\FLUXGYM\fluxgym\outputs\becc\dataset.toml" ^
28
+ --output_dir "C:\Users\marko\Downloads\FLUXGYM\fluxgym\outputs\becc" ^
29
+ --output_name becc ^
30
+ --timestep_sampling shift ^
31
+ --discrete_flow_shift 3.1582 ^
32
+ --model_prediction_type raw ^
33
+ --guidance_scale 1 ^
34
+ --loss_type l2 ^