Upload 2 files
Browse files- .ipynb_checkpoints/config-checkpoint.yaml +68 -0
- config.yaml +68 -0
.ipynb_checkpoints/config-checkpoint.yaml
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
job: extension
|
2 |
+
config:
|
3 |
+
name: flux_lora_v1_boom
|
4 |
+
process:
|
5 |
+
- type: sd_trainer
|
6 |
+
training_folder: output
|
7 |
+
device: cuda:0
|
8 |
+
network:
|
9 |
+
type: lora
|
10 |
+
linear: 16
|
11 |
+
linear_alpha: 16
|
12 |
+
save:
|
13 |
+
dtype: float16
|
14 |
+
save_every: 200
|
15 |
+
max_step_saves_to_keep: 6
|
16 |
+
datasets:
|
17 |
+
- folder_path: /root/autodl-tmp/ai-toolkit/train-data/boom
|
18 |
+
caption_ext: txt
|
19 |
+
caption_dropout_rate: 0.05
|
20 |
+
shuffle_tokens: false
|
21 |
+
cache_latents_to_disk: true
|
22 |
+
resolution:
|
23 |
+
- 512
|
24 |
+
- 768
|
25 |
+
- 1024
|
26 |
+
train:
|
27 |
+
batch_size: 1
|
28 |
+
steps: 4000
|
29 |
+
gradient_accumulation_steps: 1
|
30 |
+
train_unet: true
|
31 |
+
train_text_encoder: false
|
32 |
+
gradient_checkpointing: true
|
33 |
+
noise_scheduler: flowmatch
|
34 |
+
optimizer: adamw8bit
|
35 |
+
lr: 0.0005
|
36 |
+
linear_timesteps: true
|
37 |
+
ema_config:
|
38 |
+
use_ema: true
|
39 |
+
ema_decay: 0.99
|
40 |
+
dtype: bf16
|
41 |
+
model:
|
42 |
+
name_or_path: /root/autodl-tmp/FLUX.1-dev
|
43 |
+
is_flux: true
|
44 |
+
quantize: true
|
45 |
+
low_vram: true
|
46 |
+
sample:
|
47 |
+
sampler: flowmatch
|
48 |
+
sample_every: 250
|
49 |
+
width: 1024
|
50 |
+
height: 1024
|
51 |
+
prompts:
|
52 |
+
- The picture is of a ceramic statue that fell to the ground and broke
|
53 |
+
- the image shows the exploding vase
|
54 |
+
- The moment a pear explodes
|
55 |
+
- Close-up of an exploding strawberry
|
56 |
+
- A tall glass fell to the ground and broke
|
57 |
+
- The moment a can explodes in the air,
|
58 |
+
- A vase full of flowers was broken
|
59 |
+
- The text saying 'BOOM' exploded
|
60 |
+
- A creative worker's head exploded and scattered all kinds of small objects
|
61 |
+
neg: ''
|
62 |
+
seed: 42
|
63 |
+
walk_seed: true
|
64 |
+
guidance_scale: 4
|
65 |
+
sample_steps: 20
|
66 |
+
meta:
|
67 |
+
name: flux_lora_v1_boom
|
68 |
+
version: '1.0'
|
config.yaml
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
job: extension
|
2 |
+
config:
|
3 |
+
name: flux_lora_v1_boom
|
4 |
+
process:
|
5 |
+
- type: sd_trainer
|
6 |
+
training_folder: output
|
7 |
+
device: cuda:0
|
8 |
+
network:
|
9 |
+
type: lora
|
10 |
+
linear: 16
|
11 |
+
linear_alpha: 16
|
12 |
+
save:
|
13 |
+
dtype: float16
|
14 |
+
save_every: 250
|
15 |
+
max_step_saves_to_keep: 6
|
16 |
+
datasets:
|
17 |
+
- folder_path: /root/ai-toolkit/train-data/boom
|
18 |
+
caption_ext: txt
|
19 |
+
caption_dropout_rate: 0.05
|
20 |
+
shuffle_tokens: false
|
21 |
+
cache_latents_to_disk: true
|
22 |
+
resolution:
|
23 |
+
- 512
|
24 |
+
- 768
|
25 |
+
- 1024
|
26 |
+
train:
|
27 |
+
batch_size: 1
|
28 |
+
steps: 6000
|
29 |
+
gradient_accumulation_steps: 1
|
30 |
+
train_unet: true
|
31 |
+
train_text_encoder: false
|
32 |
+
gradient_checkpointing: true
|
33 |
+
noise_scheduler: flowmatch
|
34 |
+
optimizer: adamw8bit
|
35 |
+
lr: 0.0001
|
36 |
+
linear_timesteps: true
|
37 |
+
ema_config:
|
38 |
+
use_ema: true
|
39 |
+
ema_decay: 0.99
|
40 |
+
dtype: bf16
|
41 |
+
model:
|
42 |
+
name_or_path: /root/autodl-tmp/FLUX.1-dev
|
43 |
+
is_flux: true
|
44 |
+
quantize: true
|
45 |
+
low_vram: true
|
46 |
+
sample:
|
47 |
+
sampler: flowmatch
|
48 |
+
sample_every: 250
|
49 |
+
width: 1024
|
50 |
+
height: 1024
|
51 |
+
prompts:
|
52 |
+
- The picture is of a ceramic statue that fell to the ground and broke
|
53 |
+
- the image shows the exploding vase
|
54 |
+
- The moment a pear explodes
|
55 |
+
- Close-up of an exploding strawberry
|
56 |
+
- A tall glass fell to the ground and broke
|
57 |
+
- The moment a can explodes in the air,
|
58 |
+
- A vase full of flowers was broken
|
59 |
+
- The text saying 'BOOM' exploded
|
60 |
+
- A creative worker's head exploded and scattered all kinds of small objects
|
61 |
+
neg: ''
|
62 |
+
seed: 42
|
63 |
+
walk_seed: true
|
64 |
+
guidance_scale: 4
|
65 |
+
sample_steps: 20
|
66 |
+
meta:
|
67 |
+
name: flux_lora_v1_boom
|
68 |
+
version: '1.0'
|