briannlongzhao commited on
Commit
3cd64e9
1 Parent(s): 6aea459

End of training

Browse files
README.md CHANGED
@@ -2,16 +2,21 @@
2
  ---
3
  license: creativeml-openrail-m
4
  base_model: stabilityai/stable-diffusion-2-1
 
5
  tags:
6
  - stable-diffusion
7
  - stable-diffusion-diffusers
8
  - text-to-image
9
  - diffusers
10
- - textual_inversion
11
  inference: true
12
  ---
13
 
14
- # Textual inversion text2image fine-tuning - briannlongzhao/21
15
- These are textual inversion adaption weights for stabilityai/stable-diffusion-2-1. You can find some example images in the following.
16
 
 
 
17
 
 
 
 
 
2
  ---
3
  license: creativeml-openrail-m
4
  base_model: stabilityai/stable-diffusion-2-1
5
+ instance_prompt: a photo of sks
6
  tags:
7
  - stable-diffusion
8
  - stable-diffusion-diffusers
9
  - text-to-image
10
  - diffusers
11
+ - dreambooth
12
  inference: true
13
  ---
14
 
15
+ # DreamBooth - briannlongzhao/21
 
16
 
17
+ This is a dreambooth model derived from stabilityai/stable-diffusion-2-1. The weights were trained on a photo of sks using [DreamBooth](https://dreambooth.github.io/).
18
+ You can find some example images in the following.
19
 
20
+
21
+
22
+ DreamBooth for the text encoder was enabled: False.
logs/dreambooth/1706380638.609633/events.out.tfevents.1706380638.node-0.2727.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:213abd19e41f6c955090e9627c526abd2a9d99ee6277203bf1cb69959b471143
3
+ size 2983
logs/dreambooth/1706380639.085379/hparams.yml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_name: American Staffordshire Terrier
12
+ class_prompt: null
13
+ dataloader_num_workers: 0
14
+ enable_xformers_memory_efficient_attention: false
15
+ gradient_accumulation_steps: 1
16
+ gradient_checkpointing: true
17
+ hub_model_id: null
18
+ hub_token: null
19
+ idx: 21
20
+ instance_data_dir: /mnt/default/imagenet/images/train_small/n02093428
21
+ instance_prompt: a photo of sks
22
+ learning_rate: 5.0e-06
23
+ local_rank: -1
24
+ logging_dir: logs
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: 15
31
+ mixed_precision: fp16
32
+ num_class_images: 100
33
+ num_train_epochs: 5
34
+ num_validation_images: 4
35
+ offset_noise: false
36
+ output_dir: /mnt/default/dreambooth_models/21
37
+ pre_compute_text_embeddings: false
38
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
39
+ prior_generation_precision: null
40
+ prior_loss_weight: 1.0
41
+ push_to_hub: true
42
+ report_to: tensorboard
43
+ resolution: 512
44
+ resume_from_checkpoint: null
45
+ revision: null
46
+ sample_batch_size: 4
47
+ scale_lr: false
48
+ seed: null
49
+ set_grads_to_none: false
50
+ skip_save_text_encoder: false
51
+ snr_gamma: null
52
+ text_encoder_use_attention_mask: false
53
+ tokenizer_max_length: null
54
+ tokenizer_name: null
55
+ train_batch_size: 4
56
+ train_text_encoder: false
57
+ use_8bit_adam: true
58
+ validation_prompt: null
59
+ validation_scheduler: DPMSolverMultistepScheduler
60
+ validation_steps: 100
61
+ with_prior_preservation: false
62
+ wnid: n02093428
logs/dreambooth/events.out.tfevents.1706380638.node-0.2727.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ffaec3a26d97b01d216e56a848b347cf0aced9a9d2bddb9b1ce3a29f75569a7
3
+ size 1318
text_encoder/config.json CHANGED
@@ -19,7 +19,7 @@
19
  "num_hidden_layers": 23,
20
  "pad_token_id": 1,
21
  "projection_dim": 512,
22
- "torch_dtype": "float32",
23
  "transformers_version": "4.28.1",
24
- "vocab_size": 49409
25
  }
 
19
  "num_hidden_layers": 23,
20
  "pad_token_id": 1,
21
  "projection_dim": 512,
22
+ "torch_dtype": "float16",
23
  "transformers_version": "4.28.1",
24
+ "vocab_size": 49408
25
  }
text_encoder/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76dc659c7b3e9de08522b1cdd5fdc7e11086f6ba1f60561c87743432a9f2b3e5
3
- size 1361601112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:681c555376658c81dc273f2d737a2aeb23ddb6d1d8e5b3a7064636d359a22668
3
+ size 680821096
unet/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a3a4d7978884c5e4ef00b62641b1b544b257be2f6715d984188610ad6475ad2
3
- size 1731904736
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96e5dbdae441f8124fae5b034f7d200599b1dde2d7ea77bc9e5a62d4b2a287de
3
+ size 3463726504
vae/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.25.1",
4
- "_name_or_path": "stabilityai/stable-diffusion-2-1",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.25.1",
4
+ "_name_or_path": "/home/aiscuser/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
vae/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3e4c08995484ee61270175e9e7a072b66a6e4eeb5f0c266667fe1f45b90daf9a
3
- size 167335342
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aa1f43011b553a4cba7f37456465cdbd48aab7b54b9348b890e8058ea7683ec
3
+ size 334643268