yangchen123321 commited on
Commit
b81d34a
·
verified ·
1 Parent(s): 5899351

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,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: runwayml/stable-diffusion-v1-5
3
+ library_name: diffusers
4
+ license: creativeml-openrail-m
5
+ inference: true
6
+ instance_prompt: a photo of a damaged electric utility meter housing
7
+ tags:
8
+ - text-to-image
9
+ - diffusers
10
+ - lora
11
+ - diffusers-training
12
+ - stable-diffusion
13
+ - stable-diffusion-diffusers
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+
20
+ # LoRA DreamBooth - yangchen123321/lora-trained-sd15-bj_wkps
21
+
22
+ These are LoRA adaption weights for runwayml/stable-diffusion-v1-5. The weights were trained on a photo of a damaged electric utility meter housing using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
23
+
24
+ ![img_0](./image_0.png)
25
+ ![img_1](./image_1.png)
26
+ ![img_2](./image_2.png)
27
+ ![img_3](./image_3.png)
28
+
29
+
30
+ LoRA for the text encoder was enabled: False.
31
+
32
+
33
+ ## Intended uses & limitations
34
+
35
+ #### How to use
36
+
37
+ ```python
38
+ # TODO: add an example code snippet for running this diffusion pipeline
39
+ ```
40
+
41
+ #### Limitations and bias
42
+
43
+ [TODO: provide examples of latent issues and potential remediations]
44
+
45
+ ## Training details
46
+
47
+ [TODO: describe the data used to train the model]
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1ea0b887aace8f9146bd81e851c66bc2c4fe7f60904ad4de682f9c3084f0f36
3
+ size 6592523
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09696b0abbd20658ce01f48c152656173b86131ed0924166bec855d2c8a8bdf2
3
+ size 3226184
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6011602edc6f05d57995c259b138c271937215d7511757eaf2e93791514ae89
3
+ size 14821
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f77569c2e850b04af982cc8c1389f1430851448915c593b69e5da36ce05b71d7
3
+ size 1383
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8baa45cc00e6da1eefbbbc2d50fb568432ef1e20241f0a3571b49dcb8d62f7f2
3
+ size 1401
image_0.png ADDED

Git LFS Details

  • SHA256: ab87af66a80da8e0590835e4d6befe64255ac6117f62f8407f682f6b43348e40
  • Pointer size: 131 Bytes
  • Size of remote file: 501 kB
image_1.png ADDED

Git LFS Details

  • SHA256: 17ff4c9b0ba22cf4d834ad67580ee337ab89b2dba1b2b3e06c3eb3ba0203080e
  • Pointer size: 131 Bytes
  • Size of remote file: 461 kB
image_2.png ADDED

Git LFS Details

  • SHA256: c12df7b87cad181b819ad825676cb8854ac434801be06883f14fea876efca0b5
  • Pointer size: 131 Bytes
  • Size of remote file: 411 kB
image_3.png ADDED

Git LFS Details

  • SHA256: 14e964cad8c38992c70204aec64c649af754458f5b98b47e17fd2e35ac2d13e2
  • Pointer size: 131 Bytes
  • Size of remote file: 489 kB
logs/dreambooth-lora/1765443561.1207356/events.out.tfevents.1765443561.nb-a18032165429440512664233-a18032165429440512664233-0.6163.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6f34f87a21982280192a5671b59b98271dbca812b1aace47a63c9f55f97cfed
3
+ size 2845
logs/dreambooth-lora/1765443561.2057066/hparams.yml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.01
5
+ allow_tf32: false
6
+ center_crop: false
7
+ checkpointing_steps: 500
8
+ checkpoints_total_limit: null
9
+ class_data_dir: null
10
+ class_labels_conditioning: null
11
+ class_prompt: null
12
+ dataloader_num_workers: 0
13
+ enable_xformers_memory_efficient_attention: true
14
+ gradient_accumulation_steps: 4
15
+ gradient_checkpointing: true
16
+ hub_model_id: null
17
+ hub_token: null
18
+ image_interpolation_mode: lanczos
19
+ instance_data_dir: /input/yangchen/torch_learn/project/yc_graduate/diffusers/examples/dreambooth/datasets/val_instances/bj_wkps
20
+ instance_prompt: a photo of sks electric meter with broken housing.
21
+ learning_rate: 0.0001
22
+ local_rank: -1
23
+ logging_dir: logs
24
+ lora_dropout: 0.0
25
+ lr_num_cycles: 1
26
+ lr_power: 1.0
27
+ lr_scheduler: constant
28
+ lr_warmup_steps: 0
29
+ max_grad_norm: 1.0
30
+ max_train_steps: 800
31
+ mixed_precision: fp16
32
+ num_class_images: 100
33
+ num_train_epochs: 12
34
+ num_validation_images: 4
35
+ output_dir: lora-trained-sd15-bj_wkps
36
+ pre_compute_text_embeddings: false
37
+ pretrained_model_name_or_path: runwayml/stable-diffusion-v1-5
38
+ prior_generation_precision: null
39
+ prior_loss_weight: 1.0
40
+ push_to_hub: false
41
+ rank: 4
42
+ report_to: tensorboard
43
+ resolution: 1024
44
+ resume_from_checkpoint: null
45
+ revision: null
46
+ sample_batch_size: 4
47
+ scale_lr: false
48
+ seed: null
49
+ text_encoder_use_attention_mask: false
50
+ tokenizer_max_length: null
51
+ tokenizer_name: null
52
+ train_batch_size: 1
53
+ train_text_encoder: false
54
+ use_8bit_adam: false
55
+ validation_epochs: 50
56
+ validation_prompt: null
57
+ variant: null
58
+ with_prior_preservation: false
logs/dreambooth-lora/events.out.tfevents.1765443561.nb-a18032165429440512664233-a18032165429440512664233-0.6163.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b19849c9d41c1775e0f137cd9f85bed3629487de13e43ca811609c7e84f3c778
3
+ size 266932
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22f154ed96d2b82abe64b401bfb61fee1f218d905790055ba19527de2dd3bcf2
3
+ size 3226184