TheMindExpansionNetwork
commited on
Commit
•
aa9ac85
1
Parent(s):
9823a26
Upload folder using huggingface_hub
Browse files- README.md +51 -0
- dataset.toml +14 -0
- m1nd3xpand3r-c0sm0-000004.safetensors +3 -0
- m1nd3xpand3r-c0sm0-000008.safetensors +3 -0
- m1nd3xpand3r-c0sm0-000012.safetensors +3 -0
- m1nd3xpand3r-c0sm0.safetensors +3 -0
- sample/m1nd3xpand3r-c0sm0_001000_00_20240929041434.png +0 -0
- sample/m1nd3xpand3r-c0sm0_001000_01_20240929041444.png +0 -0
- sample/m1nd3xpand3r-c0sm0_001000_02_20240929041454.png +0 -0
- sample/m1nd3xpand3r-c0sm0_001000_03_20240929041503.png +0 -0
- sample/m1nd3xpand3r-c0sm0_002000_00_20240929044218.png +0 -0
- sample/m1nd3xpand3r-c0sm0_002000_01_20240929044227.png +0 -0
- sample/m1nd3xpand3r-c0sm0_002000_02_20240929044237.png +0 -0
- sample/m1nd3xpand3r-c0sm0_002000_03_20240929044246.png +0 -0
- sample/m1nd3xpand3r-c0sm0_003000_00_20240929051015.png +0 -0
- sample/m1nd3xpand3r-c0sm0_003000_01_20240929051024.png +0 -0
- sample/m1nd3xpand3r-c0sm0_003000_02_20240929051034.png +0 -0
- sample/m1nd3xpand3r-c0sm0_003000_03_20240929051044.png +0 -0
- sample/m1nd3xpand3r-c0sm0_004000_00_20240929053805.png +0 -0
- sample/m1nd3xpand3r-c0sm0_004000_01_20240929053815.png +0 -0
- sample/m1nd3xpand3r-c0sm0_004000_02_20240929053825.png +0 -0
- sample/m1nd3xpand3r-c0sm0_004000_03_20240929053834.png +0 -0
- sample/m1nd3xpand3r-c0sm0_005000_00_20240929060558.png +0 -0
- sample/m1nd3xpand3r-c0sm0_005000_01_20240929060608.png +0 -0
- sample/m1nd3xpand3r-c0sm0_005000_02_20240929060617.png +0 -0
- sample/m1nd3xpand3r-c0sm0_005000_03_20240929060627.png +0 -0
- sample/m1nd3xpand3r-c0sm0_006000_00_20240929063349.png +0 -0
- sample/m1nd3xpand3r-c0sm0_006000_01_20240929063359.png +0 -0
- sample/m1nd3xpand3r-c0sm0_006000_02_20240929063408.png +0 -0
- sample/m1nd3xpand3r-c0sm0_006000_03_20240929063418.png +0 -0
- sample/m1nd3xpand3r-c0sm0_007000_00_20240929070141.png +0 -0
- sample/m1nd3xpand3r-c0sm0_007000_01_20240929070150.png +0 -0
- sample/m1nd3xpand3r-c0sm0_007000_02_20240929070200.png +0 -0
- sample/m1nd3xpand3r-c0sm0_007000_03_20240929070209.png +0 -0
- sample/m1nd3xpand3r-c0sm0_008000_00_20240929072929.png +0 -0
- sample/m1nd3xpand3r-c0sm0_008000_01_20240929072939.png +0 -0
- sample/m1nd3xpand3r-c0sm0_008000_02_20240929072948.png +0 -0
- sample/m1nd3xpand3r-c0sm0_008000_03_20240929072958.png +0 -0
- sample_prompts.txt +7 -0
- train.sh +34 -0
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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/m1nd3xpand3r-c0sm0_008000_00_20240929072929.png
|
12 |
+
text: A full-body view of c0sm1c3xp in a highly detailed, futuristic astronaut
|
13 |
+
suit, exploring a vibrant, alien landscape filled with neon flora and unusual
|
14 |
+
creatures, under a sky with multiple moons and swirling auroras.
|
15 |
+
- output:
|
16 |
+
url: sample/m1nd3xpand3r-c0sm0_008000_01_20240929072939.png
|
17 |
+
text: c0sm1c3xp floating weightlessly in space, surrounded by psychedelic planets
|
18 |
+
with swirling patterns, colorful nebulae glowing in the background, and shooting
|
19 |
+
stars passing by, creating a surreal, cosmic atmosphere.
|
20 |
+
- output:
|
21 |
+
url: sample/m1nd3xpand3r-c0sm0_008000_02_20240929072948.png
|
22 |
+
text: A close-up, hyper-detailed portrait of c0sm1c3xp, the cosmic explorer, wearing
|
23 |
+
a high-tech helmet with holographic displays, a starry universe reflected
|
24 |
+
in the visor, and an ethereal glow surrounding their silhouette.
|
25 |
+
- output:
|
26 |
+
url: sample/m1nd3xpand3r-c0sm0_008000_03_20240929072958.png
|
27 |
+
text: c0sm1c3xp standing heroically on a mystical planet, bathed in soft light
|
28 |
+
from multiple galaxies spiraling in the sky above, with glowing energy fields
|
29 |
+
and celestial symbols swirling around, evoking a sense of otherworldly power
|
30 |
+
and mystery.
|
31 |
+
base_model: black-forest-labs/FLUX.1-dev
|
32 |
+
instance_prompt: c0sm1c3xp
|
33 |
+
license: other
|
34 |
+
license_name: flux-1-dev-non-commercial-license
|
35 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
36 |
+
---
|
37 |
+
|
38 |
+
# m1nd3xpand3r-C0SM0
|
39 |
+
|
40 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
41 |
+
|
42 |
+
<Gallery />
|
43 |
+
|
44 |
+
## Trigger words
|
45 |
+
|
46 |
+
You should use `c0sm1c3xp` to trigger the image generation.
|
47 |
+
|
48 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
49 |
+
|
50 |
+
Weights for this model are available in Safetensors format.
|
51 |
+
|
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/m1nd3xpand3r-c0sm0'
|
13 |
+
class_tokens = 'c0sm1c3xp'
|
14 |
+
num_repeats = 10
|
m1nd3xpand3r-c0sm0-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81bf2944b6764474451644a8e8ac853c7148e57d716e6f625b45e40f274618fc
|
3 |
+
size 39768320
|
m1nd3xpand3r-c0sm0-000008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:351ef951cc52c35fcb27671e892f740155b77caee85be34ad35516dccd12a5f5
|
3 |
+
size 39768320
|
m1nd3xpand3r-c0sm0-000012.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e73b08abe27898e517b47afd5c9ef5aa233f026284fd311ddded4dfa2f3bd3e
|
3 |
+
size 39768320
|
m1nd3xpand3r-c0sm0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce7d1cfc1392ea6cd889b2f9db9a3b111fcd6f84495bc383cc591fe4aa9345c0
|
3 |
+
size 39768320
|
sample/m1nd3xpand3r-c0sm0_001000_00_20240929041434.png
ADDED
sample/m1nd3xpand3r-c0sm0_001000_01_20240929041444.png
ADDED
sample/m1nd3xpand3r-c0sm0_001000_02_20240929041454.png
ADDED
sample/m1nd3xpand3r-c0sm0_001000_03_20240929041503.png
ADDED
sample/m1nd3xpand3r-c0sm0_002000_00_20240929044218.png
ADDED
sample/m1nd3xpand3r-c0sm0_002000_01_20240929044227.png
ADDED
sample/m1nd3xpand3r-c0sm0_002000_02_20240929044237.png
ADDED
sample/m1nd3xpand3r-c0sm0_002000_03_20240929044246.png
ADDED
sample/m1nd3xpand3r-c0sm0_003000_00_20240929051015.png
ADDED
sample/m1nd3xpand3r-c0sm0_003000_01_20240929051024.png
ADDED
sample/m1nd3xpand3r-c0sm0_003000_02_20240929051034.png
ADDED
sample/m1nd3xpand3r-c0sm0_003000_03_20240929051044.png
ADDED
sample/m1nd3xpand3r-c0sm0_004000_00_20240929053805.png
ADDED
sample/m1nd3xpand3r-c0sm0_004000_01_20240929053815.png
ADDED
sample/m1nd3xpand3r-c0sm0_004000_02_20240929053825.png
ADDED
sample/m1nd3xpand3r-c0sm0_004000_03_20240929053834.png
ADDED
sample/m1nd3xpand3r-c0sm0_005000_00_20240929060558.png
ADDED
sample/m1nd3xpand3r-c0sm0_005000_01_20240929060608.png
ADDED
sample/m1nd3xpand3r-c0sm0_005000_02_20240929060617.png
ADDED
sample/m1nd3xpand3r-c0sm0_005000_03_20240929060627.png
ADDED
sample/m1nd3xpand3r-c0sm0_006000_00_20240929063349.png
ADDED
sample/m1nd3xpand3r-c0sm0_006000_01_20240929063359.png
ADDED
sample/m1nd3xpand3r-c0sm0_006000_02_20240929063408.png
ADDED
sample/m1nd3xpand3r-c0sm0_006000_03_20240929063418.png
ADDED
sample/m1nd3xpand3r-c0sm0_007000_00_20240929070141.png
ADDED
sample/m1nd3xpand3r-c0sm0_007000_01_20240929070150.png
ADDED
sample/m1nd3xpand3r-c0sm0_007000_02_20240929070200.png
ADDED
sample/m1nd3xpand3r-c0sm0_007000_03_20240929070209.png
ADDED
sample/m1nd3xpand3r-c0sm0_008000_00_20240929072929.png
ADDED
sample/m1nd3xpand3r-c0sm0_008000_01_20240929072939.png
ADDED
sample/m1nd3xpand3r-c0sm0_008000_02_20240929072948.png
ADDED
sample/m1nd3xpand3r-c0sm0_008000_03_20240929072958.png
ADDED
sample_prompts.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
A full-body view of c0sm1c3xp in a highly detailed, futuristic astronaut suit, exploring a vibrant, alien landscape filled with neon flora and unusual creatures, under a sky with multiple moons and swirling auroras.
|
2 |
+
|
3 |
+
c0sm1c3xp floating weightlessly in space, surrounded by psychedelic planets with swirling patterns, colorful nebulae glowing in the background, and shooting stars passing by, creating a surreal, cosmic atmosphere.
|
4 |
+
|
5 |
+
A close-up, hyper-detailed portrait of c0sm1c3xp, the cosmic explorer, wearing a high-tech helmet with holographic displays, a starry universe reflected in the visor, and an ethereal glow surrounding their silhouette.
|
6 |
+
|
7 |
+
c0sm1c3xp standing heroically on a mystical planet, bathed in soft light from multiple galaxies spiraling in the sky above, with glowing energy fields and celestial symbols swirling around, evoking a sense of otherworldly power and mystery.
|
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/m1nd3xpand3r-c0sm0/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/m1nd3xpand3r-c0sm0/dataset.toml" \
|
28 |
+
--output_dir "/app/fluxgym/outputs/m1nd3xpand3r-c0sm0" \
|
29 |
+
--output_name m1nd3xpand3r-c0sm0 \
|
30 |
+
--timestep_sampling shift \
|
31 |
+
--discrete_flow_shift 3.1582 \
|
32 |
+
--model_prediction_type raw \
|
33 |
+
--guidance_scale 1 \
|
34 |
+
--loss_type l2 \
|