jonknownothing commited on
Commit
ee7dc45
1 Parent(s): 0e28a58

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ image_0.png filter=lfs diff=lfs merge=lfs -text
37
+ image_1.png filter=lfs diff=lfs merge=lfs -text
38
+ image_2.png filter=lfs diff=lfs merge=lfs -text
39
+ image_3.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - stable-diffusion-xl
4
+ - stable-diffusion-xl-diffusers
5
+ - diffusers-training
6
+ - text-to-image
7
+ - diffusers
8
+ - lora
9
+ - template:sd-lora
10
+ widget:
11
+
12
+ - text: 'Photo of a TOK person,riding a horse'
13
+ output:
14
+ url:
15
+ "image_0.png"
16
+
17
+ - text: 'Photo of a TOK person,riding a horse'
18
+ output:
19
+ url:
20
+ "image_1.png"
21
+
22
+ - text: 'Photo of a TOK person,riding a horse'
23
+ output:
24
+ url:
25
+ "image_2.png"
26
+
27
+ - text: 'Photo of a TOK person,riding a horse'
28
+ output:
29
+ url:
30
+ "image_3.png"
31
+
32
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
33
+ instance_prompt: Photo of a TOK person,
34
+ license: openrail++
35
+ ---
36
+
37
+ # SDXL LoRA DreamBooth - jonknownothing/sdxl-lora-advanced-2
38
+
39
+ <Gallery />
40
+
41
+ ## Model description
42
+
43
+ ### These are jonknownothing/sdxl-lora-advanced-2 LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
44
+
45
+ ## Download model
46
+
47
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
48
+
49
+ - **LoRA**: download **[`sdxl-lora-advanced-2.safetensors` here 💾](/jonknownothing/sdxl-lora-advanced-2/blob/main/sdxl-lora-advanced-2.safetensors)**.
50
+ - Place it on your `models/Lora` folder.
51
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:sdxl-lora-advanced-2:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
52
+
53
+
54
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
55
+
56
+ ```py
57
+ from diffusers import AutoPipelineForText2Image
58
+ import torch
59
+
60
+ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
61
+ pipeline.load_lora_weights('jonknownothing/sdxl-lora-advanced-2', weight_name='pytorch_lora_weights.safetensors')
62
+
63
+ image = pipeline('Photo of a TOK person,riding a horse').images[0]
64
+ ```
65
+
66
+ 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)
67
+
68
+ ## Trigger words
69
+
70
+ You should use Photo of a TOK person, to trigger the image generation.
71
+
72
+ ## Details
73
+ All [Files & versions](/jonknownothing/sdxl-lora-advanced-2/tree/main).
74
+
75
+ 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).
76
+
77
+ LoRA for the text encoder was enabled. True.
78
+
79
+ Pivotal tuning was enabled: False.
80
+
81
+ Special VAE used for training: None.
82
+
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbb4f9a62673d0f5b72d5e0dbb4d1631c4808c0def0feca5a321069f671c1035
3
+ size 119429434
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17eaa7bc5c825cda0734231c3a690389f7d159b256c0b1b0acf2ba40fffbbc44
3
+ size 59516320
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca4eaef168674cfdcfe69a5d606d467f0d0be60d1e67050889fba33e9afdd73f
3
+ size 14280
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18b984273ea2d45b7ffb1d047bb359d93111e41fcad70d16a1b453fd38f72636
3
+ size 988
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af726b7188a29e294e9a164361cce90c6e65a8c7ef51a22d89f73d31a15663dc
3
+ size 1064
image_0.png ADDED

Git LFS Details

  • SHA256: 93944122a115ccd5e1057b9d0765f26eb1ead384d505e7039768673cc8acdf37
  • Pointer size: 132 Bytes
  • Size of remote file: 1.19 MB
image_1.png ADDED

Git LFS Details

  • SHA256: c1d58bbe0c806332e97433438e49e08a3568176c9b1b543b23aa893f92aef77d
  • Pointer size: 132 Bytes
  • Size of remote file: 1.39 MB
image_2.png ADDED

Git LFS Details

  • SHA256: 96861c2a4813641f17a1049cf2e652c8ac090d769ee4c535d89b1f244474f4a5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
image_3.png ADDED

Git LFS Details

  • SHA256: edaa8241c1e4d00aa98d5940799292862ce84aa8a89c12c4ace8735b2fbe28b5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.18 MB
logs/dreambooth-lora-sd-xl/1715063354.4593606/events.out.tfevents.1715063354.18cd0839a2a8.5163.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a82603f03094bd48d8f0501998f5cb027e8fe9ad910d025e0bd4ada706d3211b
3
+ size 3573
logs/dreambooth-lora-sd-xl/1715063354.4614081/hparams.yml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: null
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ cache_latents: false
9
+ caption_column: prompt
10
+ center_crop: false
11
+ checkpointing_steps: 500
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: ./3d_icon
18
+ do_edm_style_training: false
19
+ enable_xformers_memory_efficient_attention: false
20
+ gradient_accumulation_steps: 1
21
+ gradient_checkpointing: false
22
+ hub_model_id: null
23
+ hub_token: null
24
+ image_column: image
25
+ instance_data_dir: null
26
+ instance_prompt: Photo of a TOK person,
27
+ learning_rate: 0.0001
28
+ local_rank: -1
29
+ logging_dir: logs
30
+ lora_unet_blocks: null
31
+ lr_num_cycles: 1
32
+ lr_power: 1.0
33
+ lr_scheduler: constant
34
+ lr_warmup_steps: 0
35
+ max_grad_norm: 1.0
36
+ max_train_steps: 900
37
+ mixed_precision: fp16
38
+ noise_offset: 0
39
+ num_class_images: 100
40
+ num_new_tokens_per_abstraction: 2
41
+ num_train_epochs: 113
42
+ num_validation_images: 4
43
+ optimizer: adamW
44
+ output_dir: sdxl-lora-advanced-2
45
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-xl-base-1.0
46
+ pretrained_vae_model_name_or_path: null
47
+ prior_generation_precision: null
48
+ prior_loss_weight: 1.0
49
+ prodigy_beta3: null
50
+ prodigy_decouple: true
51
+ prodigy_safeguard_warmup: true
52
+ prodigy_use_bias_correction: true
53
+ push_to_hub: true
54
+ random_flip: false
55
+ rank: 8
56
+ repeats: 1
57
+ report_to: tensorboard
58
+ resolution: 1024
59
+ resume_from_checkpoint: null
60
+ revision: null
61
+ sample_batch_size: 4
62
+ scale_lr: false
63
+ seed: 0
64
+ snr_gamma: null
65
+ text_encoder_lr: 5.0e-05
66
+ token_abstraction: TOK
67
+ train_batch_size: 1
68
+ train_text_encoder: true
69
+ train_text_encoder_frac: 1.0
70
+ train_text_encoder_ti: false
71
+ train_text_encoder_ti_frac: 0.5
72
+ use_8bit_adam: false
73
+ use_blora: false
74
+ use_dora: false
75
+ validation_epochs: 50
76
+ validation_prompt: Photo of a TOK person,riding a horse
77
+ variant: null
78
+ with_prior_preservation: false
logs/dreambooth-lora-sd-xl/events.out.tfevents.1715063354.18cd0839a2a8.5163.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cd12dff6e6fbbf42db97109131636c325c5d6c50714a14709f56fe08dccb17c
3
+ size 5277520
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ebac5248ad8dbb53f5463dc955f8945b44846b828eea26d55f6e7f88ea1b128
3
+ size 59516320
sdxl-lora-advanced-2.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21261faa0d853a2eaeb50bf5432181bf748ee5c352cf5930cf13e06aab1936d5
3
+ size 59537120