Upload folder using huggingface_hub
Browse files- README.md +31 -0
- dataset.toml +3 -3
- sample_prompts.txt +3 -1
- train.sh +1 -1
README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- flux
|
| 5 |
+
- lora
|
| 6 |
+
- diffusers
|
| 7 |
+
- template:sd-lora
|
| 8 |
+
- fluxgym
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 12 |
+
instance_prompt: tok_man
|
| 13 |
+
license: other
|
| 14 |
+
license_name: flux-1-dev-non-commercial-license
|
| 15 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# tok
|
| 19 |
+
|
| 20 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
| 21 |
+
|
| 22 |
+
<Gallery />
|
| 23 |
+
|
| 24 |
+
## Trigger words
|
| 25 |
+
|
| 26 |
+
You should use `tok_man` to trigger the image generation.
|
| 27 |
+
|
| 28 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
| 29 |
+
|
| 30 |
+
Weights for this model are available in Safetensors format.
|
| 31 |
+
|
dataset.toml
CHANGED
|
@@ -4,11 +4,11 @@ caption_extension = '.txt'
|
|
| 4 |
keep_tokens = 1
|
| 5 |
|
| 6 |
[[datasets]]
|
| 7 |
-
resolution =
|
| 8 |
batch_size = 1
|
| 9 |
keep_tokens = 1
|
| 10 |
|
| 11 |
[[datasets.subsets]]
|
| 12 |
image_dir = '/root/fluxgym/datasets/tok'
|
| 13 |
-
class_tokens = '
|
| 14 |
-
num_repeats =
|
|
|
|
| 4 |
keep_tokens = 1
|
| 5 |
|
| 6 |
[[datasets]]
|
| 7 |
+
resolution = 1024
|
| 8 |
batch_size = 1
|
| 9 |
keep_tokens = 1
|
| 10 |
|
| 11 |
[[datasets.subsets]]
|
| 12 |
image_dir = '/root/fluxgym/datasets/tok'
|
| 13 |
+
class_tokens = 'tok_man'
|
| 14 |
+
num_repeats = 11
|
sample_prompts.txt
CHANGED
|
@@ -1 +1,3 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
tok_man
|
| 2 |
+
tok a man
|
| 3 |
+
photo tok
|
train.sh
CHANGED
|
@@ -22,7 +22,7 @@ env/bin/accelerate launch \
|
|
| 22 |
--cache_text_encoder_outputs_to_disk \
|
| 23 |
--fp8_base \
|
| 24 |
--highvram \
|
| 25 |
-
--max_train_epochs
|
| 26 |
--save_every_n_epochs 4 \
|
| 27 |
--dataset_config "/root/fluxgym/outputs/tok/dataset.toml" \
|
| 28 |
--output_dir "/root/fluxgym/outputs/tok" \
|
|
|
|
| 22 |
--cache_text_encoder_outputs_to_disk \
|
| 23 |
--fp8_base \
|
| 24 |
--highvram \
|
| 25 |
+
--max_train_epochs 10 \
|
| 26 |
--save_every_n_epochs 4 \
|
| 27 |
--dataset_config "/root/fluxgym/outputs/tok/dataset.toml" \
|
| 28 |
--output_dir "/root/fluxgym/outputs/tok" \
|