Samuel96 commited on
Commit
726debb
·
verified ·
1 Parent(s): f8bc4b4

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. config.yaml +8 -6
  3. lora.safetensors +2 -2
README.md CHANGED
@@ -16,7 +16,7 @@ pipeline_tag: text-to-image
16
  # prompt
17
  # output:
18
  # url: https://...
19
- instance_prompt: TOKEN
20
  ---
21
 
22
  # 123Test
@@ -29,7 +29,7 @@ https://replicate.com/ostris/flux-dev-lora-trainer/train
29
 
30
 
31
  ## Trigger words
32
- You should use `TOKEN` to trigger the image generation.
33
 
34
 
35
  ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
 
16
  # prompt
17
  # output:
18
  # url: https://...
19
+ instance_prompt: TOK
20
  ---
21
 
22
  # 123Test
 
29
 
30
 
31
  ## Trigger words
32
+ You should use `TOK` to trigger the image generation.
33
 
34
 
35
  ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
config.yaml CHANGED
@@ -5,14 +5,14 @@ config:
5
  - type: custom_sd_trainer
6
  training_folder: output
7
  device: cuda:0
8
- trigger_word: TOKEN
9
  network:
10
  type: lora
11
  linear: 16
12
  linear_alpha: 16
13
  save:
14
  dtype: float16
15
- save_every: 51
16
  max_step_saves_to_keep: 1
17
  datasets:
18
  - folder_path: input_images
@@ -23,9 +23,11 @@ config:
23
  cache_latents: true
24
  resolution:
25
  - 512
 
 
26
  train:
27
- batch_size: 1
28
- steps: 50
29
  gradient_accumulation_steps: 1
30
  train_unet: true
31
  train_text_encoder: false
@@ -33,7 +35,7 @@ config:
33
  gradient_checkpointing: true
34
  noise_scheduler: flowmatch
35
  optimizer: adamw8bit
36
- lr: 0.0004
37
  ema_config:
38
  use_ema: true
39
  ema_decay: 0.99
@@ -44,7 +46,7 @@ config:
44
  quantize: true
45
  sample:
46
  sampler: flowmatch
47
- sample_every: 51
48
  width: 1024
49
  height: 1024
50
  prompts: []
 
5
  - type: custom_sd_trainer
6
  training_folder: output
7
  device: cuda:0
8
+ trigger_word: TOK
9
  network:
10
  type: lora
11
  linear: 16
12
  linear_alpha: 16
13
  save:
14
  dtype: float16
15
+ save_every: 1001
16
  max_step_saves_to_keep: 1
17
  datasets:
18
  - folder_path: input_images
 
23
  cache_latents: true
24
  resolution:
25
  - 512
26
+ - 768
27
+ - 1024
28
  train:
29
+ batch_size: 2
30
+ steps: 1000
31
  gradient_accumulation_steps: 1
32
  train_unet: true
33
  train_text_encoder: false
 
35
  gradient_checkpointing: true
36
  noise_scheduler: flowmatch
37
  optimizer: adamw8bit
38
+ lr: 0.00045
39
  ema_config:
40
  use_ema: true
41
  ema_decay: 0.99
 
46
  quantize: true
47
  sample:
48
  sampler: flowmatch
49
+ sample_every: 1001
50
  width: 1024
51
  height: 1024
52
  prompts: []
lora.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4dc257d75091930d54676003e9360cb85338ae91a16fe2207b280b9fd1efec86
3
- size 171969416
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1068b6529fd679480609bc2a371171e63c4ba7fbb7fbcc2dddbbe2092625f0b6
3
+ size 171969408