fediry commited on
Commit
8fdc5f8
·
verified ·
1 Parent(s): 834446d

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +59 -0
config.yaml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: object_placement_lora_v2
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: output
7
+ device: cuda:0
8
+ trigger_word: place
9
+ network:
10
+ type: lora
11
+ linear: 128
12
+ linear_alpha: 128
13
+ save:
14
+ dtype: float16
15
+ save_every: 250
16
+ max_step_saves_to_keep: 4
17
+ push_to_hub: false
18
+ datasets:
19
+ - folder_path: data_v2/end
20
+ control_path: data_v2/start
21
+ caption_ext: txt
22
+ caption_dropout_rate: 0.05
23
+ shuffle_tokens: false
24
+ cache_latents_to_disk: true
25
+ resolution:
26
+ - 512
27
+ - 768
28
+ - 1024
29
+ train:
30
+ batch_size: 1
31
+ steps: 3000
32
+ gradient_accumulation_steps: 1
33
+ train_unet: true
34
+ train_text_encoder: false
35
+ gradient_checkpointing: true
36
+ noise_scheduler: flowmatch
37
+ optimizer: adamw8bit
38
+ lr: 0.0001
39
+ timestep_type: weighted
40
+ dtype: bf16
41
+ model:
42
+ name_or_path: black-forest-labs/FLUX.1-Kontext-dev
43
+ arch: flux_kontext
44
+ quantize: true
45
+ sample:
46
+ sampler: flowmatch
47
+ sample_every: 250
48
+ width: 1536
49
+ height: 1024
50
+ prompts:
51
+ - place it --ctrl_img data_v2/val/airplane.jpg
52
+ neg: ''
53
+ seed: 42
54
+ walk_seed: true
55
+ guidance_scale: 4
56
+ sample_steps: 20
57
+ meta:
58
+ name: object_placement_lora_v2
59
+ version: '1.0'