TheMindExpansionNetwork commited on
Commit
632155a
1 Parent(s): 0ebab77

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/tr1ppy-v1bz_003000_00_20240928215658.png
12
+ text: A detailed photograph of tr1ppyv1bz, featuring a vibrant psychedelic character
13
+ with colorful patterns and surreal elements, glowing eyes, and intricate textures
14
+ - output:
15
+ url: sample/tr1ppy-v1bz_003000_01_20240928215708.png
16
+ text: A male tr1ppyv1bz portrait, highly detailed with neon colors, trippy facial
17
+ features, intricate patterns, and a surreal background of floating shapes
18
+ and vivid colors
19
+ - output:
20
+ url: sample/tr1ppy-v1bz_003000_02_20240928215718.png
21
+ text: A female tr1ppyv1bz, with flowing hair made of rainbow colors, glowing skin,
22
+ and a mystical aura, surrounded by swirling, colorful patterns and a cosmic,
23
+ dream-like background
24
+ - output:
25
+ url: sample/tr1ppy-v1bz_003000_03_20240928215728.png
26
+ text: A fantasy tr1ppyv1bz character, combining surreal elements with vibrant
27
+ colors, featuring a humanoid figure with glowing tattoos, intricate details,
28
+ and a psychedelic forest setting
29
+ base_model: black-forest-labs/FLUX.1-dev
30
+ instance_prompt: tr1ppyv1bz
31
+ license: other
32
+ license_name: flux-1-dev-non-commercial-license
33
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
34
+ ---
35
+
36
+ # Tr1ppy-V1bz
37
+
38
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
39
+
40
+ <Gallery />
41
+
42
+ ## Trigger words
43
+
44
+ You should use `tr1ppyv1bz` to trigger the image generation.
45
+
46
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
47
+
48
+ Weights for this model are available in Safetensors format.
49
+
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/tr1ppy-v1bz'
13
+ class_tokens = 'tr1ppyv1bz'
14
+ num_repeats = 10
sample/tr1ppy-v1bz_001000_00_20240928210010.png ADDED
sample/tr1ppy-v1bz_001000_01_20240928210020.png ADDED
sample/tr1ppy-v1bz_001000_02_20240928210030.png ADDED
sample/tr1ppy-v1bz_001000_03_20240928210039.png ADDED
sample/tr1ppy-v1bz_002000_00_20240928212827.png ADDED
sample/tr1ppy-v1bz_002000_01_20240928212837.png ADDED
sample/tr1ppy-v1bz_002000_02_20240928212847.png ADDED
sample/tr1ppy-v1bz_002000_03_20240928212857.png ADDED
sample/tr1ppy-v1bz_003000_00_20240928215658.png ADDED
sample/tr1ppy-v1bz_003000_01_20240928215708.png ADDED
sample/tr1ppy-v1bz_003000_02_20240928215718.png ADDED
sample/tr1ppy-v1bz_003000_03_20240928215728.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ A detailed photograph of tr1ppyv1bz, featuring a vibrant psychedelic character with colorful patterns and surreal elements, glowing eyes, and intricate textures
2
+ A male tr1ppyv1bz portrait, highly detailed with neon colors, trippy facial features, intricate patterns, and a surreal background of floating shapes and vivid colors
3
+ A female tr1ppyv1bz, with flowing hair made of rainbow colors, glowing skin, and a mystical aura, surrounded by swirling, colorful patterns and a cosmic, dream-like background
4
+ A fantasy tr1ppyv1bz character, combining surreal elements with vibrant colors, featuring a humanoid figure with glowing tattoos, intricate details, and a psychedelic forest setting
tr1ppy-v1bz-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8751cc9ae49d87ca69b78595b535f683836ccc043b310d29feed7b8a0ffc2e2f
3
+ size 39763632
tr1ppy-v1bz-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c24f95b073b78b1c528425d868cba18e5b086c6af45dce86e3d5325c6e38033
3
+ size 39763640
tr1ppy-v1bz-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6a0ae3445076ffbb9a5cd61a23119d87efaee95353a2d85ad4a8867630be2dc
3
+ size 39763640
tr1ppy-v1bz.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1c7ea04afe8d3f7f4e06ddf39d236eee35c02590e457f74729686bc67143c67
3
+ size 39763640
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/flux1-dev.sft" \
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 4 \
19
+ --optimizer_type adamw8bit \--sample_prompts="/app/fluxgym/outputs/tr1ppy-v1bz/sample_prompts.txt" --sample_every_n_steps="1000" \
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 "/app/fluxgym/outputs/tr1ppy-v1bz/dataset.toml" \
28
+ --output_dir "/app/fluxgym/outputs/tr1ppy-v1bz" \
29
+ --output_name tr1ppy-v1bz \
30
+ --timestep_sampling shift \
31
+ --discrete_flow_shift 3.1582 \
32
+ --model_prediction_type raw \
33
+ --guidance_scale 1 \
34
+ --loss_type l2 \