Upload folder using huggingface_hub
Browse files- README.md +33 -0
- dataset.toml +14 -0
- sample/vmstyle-lora_000100_00_20241106115657.png +0 -0
- sample/vmstyle-lora_000200_00_20241106120019.png +0 -0
- sample/vmstyle-lora_000300_00_20241106120341.png +0 -0
- sample/vmstyle-lora_000400_00_20241106120702.png +0 -0
- sample/vmstyle-lora_000500_00_20241106121024.png +0 -0
- sample/vmstyle-lora_000600_00_20241106121345.png +0 -0
- sample/vmstyle-lora_000700_00_20241106121706.png +0 -0
- sample/vmstyle-lora_000800_00_20241106122030.png +0 -0
- sample/vmstyle-lora_000900_00_20241106122352.png +0 -0
- sample/vmstyle-lora_001000_00_20241106122714.png +0 -0
- sample/vmstyle-lora_001100_00_20241106123035.png +0 -0
- sample/vmstyle-lora_001200_00_20241106123357.png +0 -0
- sample/vmstyle-lora_001300_00_20241106123720.png +0 -0
- sample/vmstyle-lora_001400_00_20241106124041.png +0 -0
- sample/vmstyle-lora_001500_00_20241106124402.png +0 -0
- sample/vmstyle-lora_001600_00_20241106124724.png +0 -0
- sample/vmstyle-lora_001700_00_20241106125044.png +0 -0
- sample/vmstyle-lora_001800_00_20241106125406.png +0 -0
- sample/vmstyle-lora_001900_00_20241106125727.png +0 -0
- sample_prompts.txt +1 -0
- train.sh +34 -0
- vmstyle-lora-000005.safetensors +3 -0
- vmstyle-lora-000010.safetensors +3 -0
- vmstyle-lora-000015.safetensors +3 -0
- vmstyle-lora-000020.safetensors +3 -0
- vmstyle-lora-000025.safetensors +3 -0
- vmstyle-lora-000030.safetensors +3 -0
- vmstyle-lora-000035.safetensors +3 -0
- vmstyle-lora-000040.safetensors +3 -0
- vmstyle-lora-000045.safetensors +3 -0
- vmstyle-lora-000050.safetensors +3 -0
- vmstyle-lora-000055.safetensors +3 -0
- vmstyle-lora-000060.safetensors +3 -0
- vmstyle-lora-000065.safetensors +3 -0
- vmstyle-lora-000070.safetensors +3 -0
- vmstyle-lora-000075.safetensors +3 -0
- vmstyle-lora-000080.safetensors +3 -0
- vmstyle-lora-000085.safetensors +3 -0
- vmstyle-lora-000090.safetensors +3 -0
- vmstyle-lora.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/vmstyle-lora_001900_00_20241106125727.png
|
| 12 |
+
text: A highly detailed photo of a beautiful elf woman in the style of vmstyle_lora
|
| 13 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 14 |
+
instance_prompt: in the style of vmstyle_lora
|
| 15 |
+
license: other
|
| 16 |
+
license_name: flux-1-dev-non-commercial-license
|
| 17 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# vmstyle_lora
|
| 21 |
+
|
| 22 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
| 23 |
+
|
| 24 |
+
<Gallery />
|
| 25 |
+
|
| 26 |
+
## Trigger words
|
| 27 |
+
|
| 28 |
+
You should use `in the style of vmstyle_lora` to trigger the image generation.
|
| 29 |
+
|
| 30 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
| 31 |
+
|
| 32 |
+
Weights for this model are available in Safetensors format.
|
| 33 |
+
|
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/vmstyle-lora'
|
| 13 |
+
class_tokens = 'in the style of vmstyle_lora'
|
| 14 |
+
num_repeats = 1
|
sample/vmstyle-lora_000100_00_20241106115657.png
ADDED
|
sample/vmstyle-lora_000200_00_20241106120019.png
ADDED
|
sample/vmstyle-lora_000300_00_20241106120341.png
ADDED
|
sample/vmstyle-lora_000400_00_20241106120702.png
ADDED
|
sample/vmstyle-lora_000500_00_20241106121024.png
ADDED
|
sample/vmstyle-lora_000600_00_20241106121345.png
ADDED
|
sample/vmstyle-lora_000700_00_20241106121706.png
ADDED
|
sample/vmstyle-lora_000800_00_20241106122030.png
ADDED
|
sample/vmstyle-lora_000900_00_20241106122352.png
ADDED
|
sample/vmstyle-lora_001000_00_20241106122714.png
ADDED
|
sample/vmstyle-lora_001100_00_20241106123035.png
ADDED
|
sample/vmstyle-lora_001200_00_20241106123357.png
ADDED
|
sample/vmstyle-lora_001300_00_20241106123720.png
ADDED
|
sample/vmstyle-lora_001400_00_20241106124041.png
ADDED
|
sample/vmstyle-lora_001500_00_20241106124402.png
ADDED
|
sample/vmstyle-lora_001600_00_20241106124724.png
ADDED
|
sample/vmstyle-lora_001700_00_20241106125044.png
ADDED
|
sample/vmstyle-lora_001800_00_20241106125406.png
ADDED
|
sample/vmstyle-lora_001900_00_20241106125727.png
ADDED
|
sample_prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
A highly detailed photo of a beautiful elf woman in the style of vmstyle_lora
|
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 69 \
|
| 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/vmstyle-lora/sample_prompts.txt" --sample_every_n_steps="100" \
|
| 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 95 \
|
| 26 |
+
--save_every_n_epochs 5 \
|
| 27 |
+
--dataset_config "/app/fluxgym/outputs/vmstyle-lora/dataset.toml" \
|
| 28 |
+
--output_dir "/app/fluxgym/outputs/vmstyle-lora" \
|
| 29 |
+
--output_name vmstyle-lora \
|
| 30 |
+
--timestep_sampling shift \
|
| 31 |
+
--discrete_flow_shift 3.1582 \
|
| 32 |
+
--model_prediction_type raw \
|
| 33 |
+
--guidance_scale 1 \
|
| 34 |
+
--loss_type l2 \
|
vmstyle-lora-000005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e50c96b1cdfaf0abd51187a5578babce6f23ff37be02897512bea570409fd1b
|
| 3 |
+
size 39757208
|
vmstyle-lora-000010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:641cdfd39a58865267085307763fc8b808149d2645923de2027209683e9e2c17
|
| 3 |
+
size 39757208
|
vmstyle-lora-000015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6047abb36bd78c0b2acde1161143732d3b091523fc40e41721954a47695ed3b2
|
| 3 |
+
size 39757208
|
vmstyle-lora-000020.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e55245292cce16d42f62a9cff7930928fba5f8a3b52263dbd028150ba24c49ad
|
| 3 |
+
size 39757208
|
vmstyle-lora-000025.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dee855b26a8db9a484de4b075e1092c5b061199afcd6060f45a829349bbd21d5
|
| 3 |
+
size 39757208
|
vmstyle-lora-000030.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d36a8d85914011d6179612d1bfc3e836b88d01c3e8bee3148288f32fa9186ab1
|
| 3 |
+
size 39757208
|
vmstyle-lora-000035.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fe6a868f09c16a8063838d1be44e5445cf9af41647375a575eb041ee1594896
|
| 3 |
+
size 39757208
|
vmstyle-lora-000040.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a56c83cc7d68f3c2c0111b54ea50d229cd6d4ab002c8d3033cd029838adaed05
|
| 3 |
+
size 39757208
|
vmstyle-lora-000045.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ad61c2852efc26066552d6024c403e73c30d981ad81b82b4ae12db4b9b8226b
|
| 3 |
+
size 39757208
|
vmstyle-lora-000050.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a82c69d980df4bc47b41aee1b0b3e9857d9b81fc2c1d66a51e8cf5ab1815e97
|
| 3 |
+
size 39757208
|
vmstyle-lora-000055.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a2fe6158ea2b468e62afda5bd86387adcc92b83471b4cafe84d1a9d0ab48ed4
|
| 3 |
+
size 39757208
|
vmstyle-lora-000060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b90c65c513eaa94a0712645e6c23679c7f297a5461235f0b4e19e8e8d5b6d2e1
|
| 3 |
+
size 39757208
|
vmstyle-lora-000065.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:828a6eaa34d42c9a65212d7affa4ddeba14cd93b7a18b5ff15e2cdefd61afe4b
|
| 3 |
+
size 39757208
|
vmstyle-lora-000070.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3111283fc5f81a7a5826ab661bc321b2f9c997123f5930f00af1b25a48d83f6
|
| 3 |
+
size 39757208
|
vmstyle-lora-000075.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0530756bb3f741339d049e5d98a0c0839de318a9812d5a62d58c1b3300bd424f
|
| 3 |
+
size 39757208
|
vmstyle-lora-000080.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb4b6b74672f9ca8893f5cd7085a1809cfe91d2d0aebdbeb4b9e1e3cd1fdefb9
|
| 3 |
+
size 39757208
|
vmstyle-lora-000085.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0550dfa60d00c69690d31266c70c5ed95bf671b8920b4b54df01e58a2254a78b
|
| 3 |
+
size 39757208
|
vmstyle-lora-000090.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a000bc81aec160a91d53ec958932a96829ec3ec20c0f89a96a8b4469776f69a
|
| 3 |
+
size 39757208
|
vmstyle-lora.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d87ffdc841b0abf537fe84dea9500da13acb64ef14d13994377ad22c0169678
|
| 3 |
+
size 39757208
|