Upload folder using huggingface_hub
Browse files- dataset.toml +14 -0
- sample/dtra1n-man-prov3_000200_00_20241106155912_37.png +0 -0
- sample/dtra1n-man-prov3_000200_01_20241106155924_37.png +0 -0
- sample/dtra1n-man-prov3_000200_02_20241106155936_37.png +0 -0
- sample/dtra1n-man-prov3_000200_03_20241106155948_37.png +0 -0
- sample/dtra1n-man-prov3_000200_04_20241106160000_37.png +0 -0
- sample/dtra1n-man-prov3_000200_05_20241106160012.png +0 -0
- sample/dtra1n-man-prov3_000400_00_20241106161155_37.png +0 -0
- sample/dtra1n-man-prov3_000400_01_20241106161207_37.png +0 -0
- sample/dtra1n-man-prov3_000400_02_20241106161219_37.png +0 -0
- sample/dtra1n-man-prov3_000400_03_20241106161231_37.png +0 -0
- sample/dtra1n-man-prov3_000400_04_20241106161243_37.png +0 -0
- sample/dtra1n-man-prov3_000400_05_20241106161255.png +0 -0
- sample/dtra1n-man-prov3_000600_00_20241106162438_37.png +0 -0
- sample/dtra1n-man-prov3_000600_01_20241106162450_37.png +0 -0
- sample/dtra1n-man-prov3_000600_02_20241106162502_37.png +0 -0
- sample/dtra1n-man-prov3_000600_03_20241106162514_37.png +0 -0
- sample/dtra1n-man-prov3_000600_04_20241106162526_37.png +0 -0
- sample/dtra1n-man-prov3_000600_05_20241106162538.png +0 -0
- sample/dtra1n-man-prov3_000800_00_20241106163720_37.png +0 -0
- sample/dtra1n-man-prov3_000800_01_20241106163732_37.png +0 -0
- sample/dtra1n-man-prov3_000800_02_20241106163744_37.png +0 -0
- sample/dtra1n-man-prov3_000800_03_20241106163756_37.png +0 -0
- sample/dtra1n-man-prov3_000800_04_20241106163808_37.png +0 -0
- sample/dtra1n-man-prov3_000800_05_20241106163820.png +0 -0
- sample/dtra1n-man-prov3_001000_00_20241106165002_37.png +0 -0
- sample/dtra1n-man-prov3_001000_01_20241106165014_37.png +0 -0
- sample/dtra1n-man-prov3_001000_02_20241106165026_37.png +0 -0
- sample/dtra1n-man-prov3_001000_03_20241106165038_37.png +0 -0
- sample/dtra1n-man-prov3_001000_04_20241106165050_37.png +0 -0
- sample/dtra1n-man-prov3_001000_05_20241106165102.png +0 -0
- sample_prompts.txt +6 -0
- train.sh +34 -0
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 = 786
|
8 |
+
batch_size = 1
|
9 |
+
keep_tokens = 1
|
10 |
+
|
11 |
+
[[datasets.subsets]]
|
12 |
+
image_dir = '/cnvrg/fluxgym/datasets/dtra1n-man-prov3'
|
13 |
+
class_tokens = 'dtra1n-man-prov3'
|
14 |
+
num_repeats = 20
|
sample/dtra1n-man-prov3_000200_00_20241106155912_37.png
ADDED
sample/dtra1n-man-prov3_000200_01_20241106155924_37.png
ADDED
sample/dtra1n-man-prov3_000200_02_20241106155936_37.png
ADDED
sample/dtra1n-man-prov3_000200_03_20241106155948_37.png
ADDED
sample/dtra1n-man-prov3_000200_04_20241106160000_37.png
ADDED
sample/dtra1n-man-prov3_000200_05_20241106160012.png
ADDED
sample/dtra1n-man-prov3_000400_00_20241106161155_37.png
ADDED
sample/dtra1n-man-prov3_000400_01_20241106161207_37.png
ADDED
sample/dtra1n-man-prov3_000400_02_20241106161219_37.png
ADDED
sample/dtra1n-man-prov3_000400_03_20241106161231_37.png
ADDED
sample/dtra1n-man-prov3_000400_04_20241106161243_37.png
ADDED
sample/dtra1n-man-prov3_000400_05_20241106161255.png
ADDED
sample/dtra1n-man-prov3_000600_00_20241106162438_37.png
ADDED
sample/dtra1n-man-prov3_000600_01_20241106162450_37.png
ADDED
sample/dtra1n-man-prov3_000600_02_20241106162502_37.png
ADDED
sample/dtra1n-man-prov3_000600_03_20241106162514_37.png
ADDED
sample/dtra1n-man-prov3_000600_04_20241106162526_37.png
ADDED
sample/dtra1n-man-prov3_000600_05_20241106162538.png
ADDED
sample/dtra1n-man-prov3_000800_00_20241106163720_37.png
ADDED
sample/dtra1n-man-prov3_000800_01_20241106163732_37.png
ADDED
sample/dtra1n-man-prov3_000800_02_20241106163744_37.png
ADDED
sample/dtra1n-man-prov3_000800_03_20241106163756_37.png
ADDED
sample/dtra1n-man-prov3_000800_04_20241106163808_37.png
ADDED
sample/dtra1n-man-prov3_000800_05_20241106163820.png
ADDED
sample/dtra1n-man-prov3_001000_00_20241106165002_37.png
ADDED
sample/dtra1n-man-prov3_001000_01_20241106165014_37.png
ADDED
sample/dtra1n-man-prov3_001000_02_20241106165026_37.png
ADDED
sample/dtra1n-man-prov3_001000_03_20241106165038_37.png
ADDED
sample/dtra1n-man-prov3_001000_04_20241106165050_37.png
ADDED
sample/dtra1n-man-prov3_001000_05_20241106165102.png
ADDED
sample_prompts.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
dtra1n-man-prov3, old man in a black t shirt, “BIG D”, black sunglasses, gold chain, bling. arms crossed. Money Falling From the sky around him. --d 37
|
2 |
+
dtra1n-man-prov3, older man in a black t shirt, “BIG D” IN diamonds across the front, black sunglasses, gold chain, bling. Throwing cash in the air. Neon Lights background, photoshoot --d 37
|
3 |
+
dtra1n-man-prov3 older man in a black t shirt, black sunglasses, gold chain, bling. arms crossed. --d 37
|
4 |
+
dtra1n-man-prov3 older man as a gangster, throwing money in the air. --d 37
|
5 |
+
dtra1n-man-prov3 corporate headshot --d 37
|
6 |
+
dtra1n-man-prov3 As a plastic bobble head on a car dashboard —d 37
|
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 "/cnvrg/fluxgym/models/unet/bdsqlsz/flux1-dev2pro-single/flux1-dev2pro.safetensors" \
|
6 |
+
--clip_l "/cnvrg/fluxgym/models/clip/clip_l.safetensors" \
|
7 |
+
--t5xxl "/cnvrg/fluxgym/models/clip/t5xxl_fp16.safetensors" \
|
8 |
+
--ae "/cnvrg/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="/cnvrg/fluxgym/outputs/dtra1n-man-prov3/sample_prompts.txt" --sample_every_n_steps="200" \
|
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 20 \
|
26 |
+
--save_every_n_epochs 4 \
|
27 |
+
--dataset_config "/cnvrg/fluxgym/outputs/dtra1n-man-prov3/dataset.toml" \
|
28 |
+
--output_dir "/cnvrg/fluxgym/outputs/dtra1n-man-prov3" \
|
29 |
+
--output_name dtra1n-man-prov3 \
|
30 |
+
--timestep_sampling shift \
|
31 |
+
--discrete_flow_shift 3.1582 \
|
32 |
+
--model_prediction_type raw \
|
33 |
+
--guidance_scale 1 \
|
34 |
+
--loss_type l2 \
|