tushaar21 commited on
Commit
4aded6b
1 Parent(s): d2d4fbc

Training complete

Browse files
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - stable-diffusion-xl
4
+ - stable-diffusion-xl-diffusers
5
+ - text-to-image
6
+ - diffusers
7
+ - lora
8
+ - template:sd-lora
9
+ widget:
10
+
11
+ - text: 'a advertising photo of the TOK bottle'
12
+
13
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
14
+ instance_prompt: a advertising photo of the TOK bottle
15
+ license: openrail++
16
+ ---
17
+
18
+ # SDXL LoRA DreamBooth - tushaar21/sdxl_lora_prodigy_1-5_500_rank6
19
+
20
+ <Gallery />
21
+
22
+ ## Model description
23
+
24
+ ### These are tushaar21/sdxl_lora_prodigy_1-5_500_rank6 LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
25
+
26
+ ## Download model
27
+
28
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
29
+
30
+ - **LoRA**: download **[`sdxl_lora_prodigy_1-5_500_rank6.safetensors` here 💾](/tushaar21/sdxl_lora_prodigy_1-5_500_rank6/blob/main/sdxl_lora_prodigy_1-5_500_rank6.safetensors)**.
31
+ - Place it on your `models/Lora` folder.
32
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:sdxl_lora_prodigy_1-5_500_rank6:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
33
+
34
+
35
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
36
+
37
+ ```py
38
+ from diffusers import AutoPipelineForText2Image
39
+ import torch
40
+
41
+ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
42
+ pipeline.load_lora_weights('tushaar21/sdxl_lora_prodigy_1-5_500_rank6', weight_name='pytorch_lora_weights.safetensors')
43
+
44
+ image = pipeline('a advertising photo of the TOK bottle').images[0]
45
+ ```
46
+
47
+ 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)
48
+
49
+ ## Trigger words
50
+
51
+ You should use a advertising photo of the TOK bottle to trigger the image generation.
52
+
53
+ ## Details
54
+ All [Files & versions](/tushaar21/sdxl_lora_prodigy_1-5_500_rank6/tree/main).
55
+
56
+ The weights were trained using [🧨 diffusers Advanced Dreambooth Training Script](https://github.com/huggingface/diffusers/blob/main/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py).
57
+
58
+ LoRA for the text encoder was enabled. False.
59
+
60
+ Pivotal tuning was enabled: False.
61
+
62
+ Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
63
+
logs/dreambooth-lora-sd-xl/1708800042.4663558/events.out.tfevents.1708800042.fc714bb9c916.4961.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4a18013f1c815ccaa0cc22b97f30fbd4716b6e164573b59e02d01949bbe8f4a
3
+ size 3615
logs/dreambooth-lora-sd-xl/1708800042.4684882/hparams.yml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.99
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: null
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ cache_latents: false
9
+ caption_column: prompt
10
+ center_crop: false
11
+ checkpointing_steps: 700
12
+ checkpoints_total_limit: null
13
+ class_data_dir: null
14
+ class_prompt: null
15
+ dataloader_num_workers: 0
16
+ dataset_config_name: null
17
+ dataset_name: /content/drive/MyDrive/training4/
18
+ enable_xformers_memory_efficient_attention: false
19
+ gradient_accumulation_steps: 4
20
+ gradient_checkpointing: true
21
+ hub_model_id: null
22
+ hub_token: null
23
+ image_column: image
24
+ instance_data_dir: null
25
+ instance_prompt: a advertising photoshoot of the <s0><s1> on a stylish white background
26
+ with <s0><s1> flowers around it
27
+ learning_rate: 1.5
28
+ local_rank: -1
29
+ logging_dir: logs
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_train_steps: 500
36
+ mixed_precision: fp16
37
+ noise_offset: 0
38
+ num_class_images: 100
39
+ num_new_tokens_per_abstraction: 2
40
+ num_train_epochs: 21
41
+ num_validation_images: 4
42
+ optimizer: prodigy
43
+ output_dir: sdxl_lora_prodigy_1-5_500_rank6
44
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-xl-base-1.0
45
+ pretrained_vae_model_name_or_path: madebyollin/sdxl-vae-fp16-fix
46
+ prior_generation_precision: null
47
+ prior_loss_weight: 1.0
48
+ prodigy_beta3: null
49
+ prodigy_decouple: true
50
+ prodigy_safeguard_warmup: true
51
+ prodigy_use_bias_correction: true
52
+ push_to_hub: false
53
+ random_flip: false
54
+ rank: 6
55
+ repeats: 2
56
+ report_to: tensorboard
57
+ resolution: 1024
58
+ resume_from_checkpoint: null
59
+ revision: null
60
+ sample_batch_size: 4
61
+ scale_lr: false
62
+ seed: 0
63
+ snr_gamma: 5.0
64
+ text_encoder_lr: 1.5
65
+ token_abstraction: TOK
66
+ train_batch_size: 1
67
+ train_text_encoder: false
68
+ train_text_encoder_frac: 1.0
69
+ train_text_encoder_ti: true
70
+ train_text_encoder_ti_frac: 0.5
71
+ use_8bit_adam: false
72
+ validation_epochs: 50
73
+ validation_prompt: null
74
+ variant: null
75
+ with_prior_preservation: false
logs/dreambooth-lora-sd-xl/1708801254.0127287/events.out.tfevents.1708801254.fc714bb9c916.10527.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3591ff82f88db626a0dbd91abd4c74f65ddf2de6f9cb7cee0b380f8a8161b23c
3
+ size 3615
logs/dreambooth-lora-sd-xl/1708801254.0151246/hparams.yml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.99
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: null
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ cache_latents: false
9
+ caption_column: prompt
10
+ center_crop: false
11
+ checkpointing_steps: 700
12
+ checkpoints_total_limit: null
13
+ class_data_dir: null
14
+ class_prompt: null
15
+ dataloader_num_workers: 0
16
+ dataset_config_name: null
17
+ dataset_name: /content/drive/MyDrive/training4/
18
+ enable_xformers_memory_efficient_attention: false
19
+ gradient_accumulation_steps: 4
20
+ gradient_checkpointing: true
21
+ hub_model_id: null
22
+ hub_token: null
23
+ image_column: image
24
+ instance_data_dir: null
25
+ instance_prompt: a advertising photoshoot of the <s0><s1> on a stylish white background
26
+ with <s0><s1> flowers around it
27
+ learning_rate: 1.5
28
+ local_rank: -1
29
+ logging_dir: logs
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_train_steps: 500
36
+ mixed_precision: fp16
37
+ noise_offset: 0
38
+ num_class_images: 100
39
+ num_new_tokens_per_abstraction: 2
40
+ num_train_epochs: 21
41
+ num_validation_images: 4
42
+ optimizer: prodigy
43
+ output_dir: sdxl_lora_prodigy_1-5_500_rank6
44
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-xl-base-1.0
45
+ pretrained_vae_model_name_or_path: madebyollin/sdxl-vae-fp16-fix
46
+ prior_generation_precision: null
47
+ prior_loss_weight: 1.0
48
+ prodigy_beta3: null
49
+ prodigy_decouple: true
50
+ prodigy_safeguard_warmup: true
51
+ prodigy_use_bias_correction: true
52
+ push_to_hub: false
53
+ random_flip: false
54
+ rank: 6
55
+ repeats: 2
56
+ report_to: tensorboard
57
+ resolution: 1024
58
+ resume_from_checkpoint: null
59
+ revision: null
60
+ sample_batch_size: 4
61
+ scale_lr: false
62
+ seed: 0
63
+ snr_gamma: 5.0
64
+ text_encoder_lr: 1.5
65
+ token_abstraction: TOK
66
+ train_batch_size: 1
67
+ train_text_encoder: false
68
+ train_text_encoder_frac: 1.0
69
+ train_text_encoder_ti: true
70
+ train_text_encoder_ti_frac: 0.5
71
+ use_8bit_adam: false
72
+ validation_epochs: 50
73
+ validation_prompt: null
74
+ variant: null
75
+ with_prior_preservation: false
logs/dreambooth-lora-sd-xl/events.out.tfevents.1708800042.fc714bb9c916.4961.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ff53cd97d760668deffc84bdacfa3794a8eb59f24e7b6a5539a62d0ff2249ff
3
+ size 21724
logs/dreambooth-lora-sd-xl/events.out.tfevents.1708801254.fc714bb9c916.10527.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea63a16ad24734bf81e14d4e81fd0c8845a47701258a468e33571a0cc9f1697
3
+ size 167054
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29ba5ebbb37e43976ea38518827bf04c51ddcb2f747bc8fc201e6c57b257960d
3
+ size 35002936
sdxl_lora_prodigy_1-5_500_rank6.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5113402d3c4c7a163a1f6a6ec924ee98378d000e7601b1e58d0af10387a0dae1
3
+ size 35085736
sdxl_lora_prodigy_1-5_500_rank6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e511bde18682551acad34b27e23691c92d6e1496871a4cc0744e779c4d0ca6c
3
+ size 16536