strickvl commited on
Commit
cb1a73a
1 Parent(s): 0dd4f54

End of training

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: black-forest-labs/FLUX.1-schnell
3
+ library_name: diffusers
4
+ license: other
5
+ tags:
6
+ - text-to-image
7
+ - diffusers-training
8
+ - diffusers
9
+ - lora
10
+ - flux
11
+ - flux-diffusers
12
+ - template:sd-lora
13
+ instance_prompt: a photo of sks hamza
14
+ widget: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+
21
+ # Flux DreamBooth LoRA - strickvl/flux-schnell-dreambooth-hamza
22
+
23
+ <Gallery />
24
+
25
+ ## Model description
26
+
27
+ These are strickvl/flux-schnell-dreambooth-hamza DreamBooth LoRA weights for black-forest-labs/FLUX.1-schnell.
28
+
29
+ The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Flux diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_flux.md).
30
+
31
+ Was LoRA for the text encoder enabled? False.
32
+
33
+ ## Trigger words
34
+
35
+ You should use `a photo of sks hamza` to trigger the image generation.
36
+
37
+ ## Download model
38
+
39
+ [Download the *.safetensors LoRA](strickvl/flux-schnell-dreambooth-hamza/tree/main) in the Files & versions tab.
40
+
41
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
42
+
43
+ ```py
44
+ from diffusers import AutoPipelineForText2Image
45
+ import torch
46
+ pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
47
+ pipeline.load_lora_weights('strickvl/flux-schnell-dreambooth-hamza', weight_name='pytorch_lora_weights.safetensors')
48
+ image = pipeline('a photo of sks hamza').images[0]
49
+ ```
50
+
51
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
52
+
53
+ ## License
54
+
55
+ Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
56
+
57
+
58
+ ## Intended uses & limitations
59
+
60
+ #### How to use
61
+
62
+ ```python
63
+ # TODO: add an example code snippet for running this diffusion pipeline
64
+ ```
65
+
66
+ #### Limitations and bias
67
+
68
+ [TODO: provide examples of latent issues and potential remediations]
69
+
70
+ ## Training details
71
+
72
+ [TODO: describe the data used to train the model]
logs/dreambooth-flux-dev-lora/1725140797.1649055/events.out.tfevents.1725140797.dreambooth-pipeline-2ec474492ae8cfc13e22dd89e57f0b24-train-mode.16.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0990229e275205804d78e97c1e2a076eb431939a30b9e24812f94a37c3fd2ef5
3
+ size 3161
logs/dreambooth-flux-dev-lora/1725140797.16687/hparams.yml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: 0.001
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ caption_column: null
9
+ center_crop: false
10
+ checkpointing_steps: 1000
11
+ checkpoints_total_limit: null
12
+ class_data_dir: null
13
+ class_prompt: null
14
+ dataloader_num_workers: 0
15
+ dataset_config_name: null
16
+ dataset_name: null
17
+ gradient_accumulation_steps: 1
18
+ gradient_checkpointing: false
19
+ guidance_scale: 3.5
20
+ hub_model_id: null
21
+ hub_token: null
22
+ image_column: image
23
+ instance_data_dir: /tmp/instance_images_2nq5vssi
24
+ instance_prompt: a photo of sks hamza
25
+ learning_rate: 0.0004
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ logit_mean: 0.0
29
+ logit_std: 1.0
30
+ lr_num_cycles: 1
31
+ lr_power: 1.0
32
+ lr_scheduler: constant
33
+ lr_warmup_steps: 0
34
+ max_grad_norm: 1.0
35
+ max_sequence_length: 512
36
+ max_train_steps: 500
37
+ mixed_precision: bf16
38
+ mode_scale: 1.29
39
+ num_class_images: 100
40
+ num_train_epochs: 30
41
+ num_validation_images: 4
42
+ optimizer: AdamW
43
+ output_dir: ./flux-schnell-dreambooth-hamza
44
+ pretrained_model_name_or_path: black-forest-labs/FLUX.1-schnell
45
+ prior_generation_precision: null
46
+ prior_loss_weight: 1.0
47
+ prodigy_beta3: null
48
+ prodigy_decouple: true
49
+ prodigy_safeguard_warmup: true
50
+ prodigy_use_bias_correction: true
51
+ push_to_hub: true
52
+ random_flip: false
53
+ rank: 4
54
+ repeats: 1
55
+ report_to: tensorboard
56
+ resolution: 512
57
+ resume_from_checkpoint: null
58
+ revision: null
59
+ sample_batch_size: 4
60
+ scale_lr: false
61
+ seed: 117
62
+ text_encoder_lr: 5.0e-06
63
+ train_batch_size: 1
64
+ train_text_encoder: false
65
+ use_8bit_adam: false
66
+ validation_epochs: 50
67
+ validation_prompt: null
68
+ variant: null
69
+ weighting_scheme: none
70
+ with_prior_preservation: false
logs/dreambooth-flux-dev-lora/events.out.tfevents.1725140797.dreambooth-pipeline-2ec474492ae8cfc13e22dd89e57f0b24-train-mode.16.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51d45f5c9cb83162c01dbb3a3ca7e799097bde17354a86b1f83f7b9628bb2ef2
3
+ size 41834
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b8745873074fd581c32bbf49c1c3d6b55b6b9c6a27d8e5854f072118cd759b9
3
+ size 18727592