demelianov commited on
Commit
99eeabb
1 Parent(s): 342990d

End of training

Browse files
README.md CHANGED
@@ -1,7 +1,7 @@
1
 
2
  ---
3
  license: creativeml-openrail-m
4
- base_model: CompVis/stable-diffusion-v1-4
5
  instance_prompt: a photo of sks person
6
  tags:
7
  - stable-diffusion
@@ -14,7 +14,7 @@ inference: true
14
 
15
  # DreamBooth - demelianov/model
16
 
17
- This is a dreambooth model derived from CompVis/stable-diffusion-v1-4. The weights were trained on a photo of sks person using [DreamBooth](https://dreambooth.github.io/).
18
  You can find some example images in the following.
19
 
20
 
 
1
 
2
  ---
3
  license: creativeml-openrail-m
4
+ base_model: stabilityai/stable-diffusion-2
5
  instance_prompt: a photo of sks person
6
  tags:
7
  - stable-diffusion
 
14
 
15
  # DreamBooth - demelianov/model
16
 
17
+ This is a dreambooth model derived from stabilityai/stable-diffusion-2. The weights were trained on a photo of sks person using [DreamBooth](https://dreambooth.github.io/).
18
  You can find some example images in the following.
19
 
20
 
logs/dreambooth/1688883555.8946843/events.out.tfevents.1688883555.dad20ada64b2.2442.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f484924c86ca3196a698929b3714167a3176b7196da5916d4e4bf0728290fde6
3
+ size 2688
logs/dreambooth/1688883555.916423/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: false
14
+ gradient_accumulation_steps: 1
15
+ gradient_checkpointing: false
16
+ hub_model_id: null
17
+ hub_token: null
18
+ instance_data_dir: /workspace/myphoto
19
+ instance_prompt: a photo of sks person
20
+ learning_rate: 5.0e-06
21
+ local_rank: -1
22
+ logging_dir: logs
23
+ lr_num_cycles: 1
24
+ lr_power: 1.0
25
+ lr_scheduler: constant
26
+ lr_warmup_steps: 0
27
+ max_grad_norm: 1.0
28
+ max_train_steps: 400
29
+ mixed_precision: null
30
+ num_class_images: 100
31
+ num_train_epochs: 100
32
+ num_validation_images: 4
33
+ offset_noise: false
34
+ output_dir: /workspace/model
35
+ pre_compute_text_embeddings: false
36
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-2
37
+ prior_generation_precision: null
38
+ prior_loss_weight: 1.0
39
+ push_to_hub: true
40
+ report_to: tensorboard
41
+ resolution: 512
42
+ resume_from_checkpoint: null
43
+ revision: null
44
+ sample_batch_size: 4
45
+ scale_lr: false
46
+ seed: null
47
+ set_grads_to_none: false
48
+ skip_save_text_encoder: false
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_images: null
56
+ validation_prompt: null
57
+ validation_steps: 100
58
+ with_prior_preservation: false
logs/dreambooth/events.out.tfevents.1688883555.dad20ada64b2.2442.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9907ee1f43532a5ef40d9c7fb137854951bb25edddba10ab784f6f5809a78b50
3
+ size 33434
model_index.json CHANGED
@@ -5,14 +5,14 @@
5
  "transformers",
6
  "CLIPImageProcessor"
7
  ],
8
- "requires_safety_checker": true,
9
  "safety_checker": [
10
- "stable_diffusion",
11
- "StableDiffusionSafetyChecker"
12
  ],
13
  "scheduler": [
14
  "diffusers",
15
- "PNDMScheduler"
16
  ],
17
  "text_encoder": [
18
  "transformers",
 
5
  "transformers",
6
  "CLIPImageProcessor"
7
  ],
8
+ "requires_safety_checker": false,
9
  "safety_checker": [
10
+ null,
11
+ null
12
  ],
13
  "scheduler": [
14
  "diffusers",
15
+ "DDIMScheduler"
16
  ],
17
  "text_encoder": [
18
  "transformers",
scheduler/scheduler_config.json CHANGED
@@ -1,15 +1,20 @@
1
  {
2
- "_class_name": "PNDMScheduler",
3
  "_diffusers_version": "0.18.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
7
  "clip_sample": false,
 
 
8
  "num_train_timesteps": 1000,
9
- "prediction_type": "epsilon",
 
 
10
  "set_alpha_to_one": false,
11
  "skip_prk_steps": true,
12
  "steps_offset": 1,
 
13
  "timestep_spacing": "leading",
14
  "trained_betas": null
15
  }
 
1
  {
2
+ "_class_name": "DDIMScheduler",
3
  "_diffusers_version": "0.18.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
7
  "clip_sample": false,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
  "num_train_timesteps": 1000,
11
+ "prediction_type": "v_prediction",
12
+ "rescale_betas_zero_snr": false,
13
+ "sample_max_value": 1.0,
14
  "set_alpha_to_one": false,
15
  "skip_prk_steps": true,
16
  "steps_offset": 1,
17
+ "thresholding": false,
18
  "timestep_spacing": "leading",
19
  "trained_betas": null
20
  }
text_encoder/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "CompVis/stable-diffusion-v1-4",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
@@ -7,16 +7,16 @@
7
  "bos_token_id": 0,
8
  "dropout": 0.0,
9
  "eos_token_id": 2,
10
- "hidden_act": "quick_gelu",
11
- "hidden_size": 768,
12
  "initializer_factor": 1.0,
13
  "initializer_range": 0.02,
14
- "intermediate_size": 3072,
15
  "layer_norm_eps": 1e-05,
16
  "max_position_embeddings": 77,
17
  "model_type": "clip_text_model",
18
- "num_attention_heads": 12,
19
- "num_hidden_layers": 12,
20
  "pad_token_id": 1,
21
  "projection_dim": 512,
22
  "torch_dtype": "float32",
 
1
  {
2
+ "_name_or_path": "stabilityai/stable-diffusion-2",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
7
  "bos_token_id": 0,
8
  "dropout": 0.0,
9
  "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_size": 1024,
12
  "initializer_factor": 1.0,
13
  "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
  "layer_norm_eps": 1e-05,
16
  "max_position_embeddings": 77,
17
  "model_type": "clip_text_model",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 23,
20
  "pad_token_id": 1,
21
  "projection_dim": 512,
22
  "torch_dtype": "float32",
text_encoder/pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a20d724dacc3f94e73753462567b578a6395b725e17b4ddaeddf0dd3bc148729
3
- size 492309793
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9c787e9388134c1a25dc69934a51a32a2683b38b8a9b017e1f3a692b8ed6b98
3
+ size 1361679905
tokenizer/special_tokens_map.json CHANGED
@@ -13,7 +13,7 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": "<|endoftext|>",
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": "!",
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
unet/config.json CHANGED
@@ -1,12 +1,17 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.18.0.dev0",
4
- "_name_or_path": "CompVis/stable-diffusion-v1-4",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
7
  "addition_embed_type_num_heads": 64,
8
  "addition_time_embed_dim": null,
9
- "attention_head_dim": 8,
 
 
 
 
 
10
  "block_out_channels": [
11
  320,
12
  640,
@@ -18,7 +23,7 @@
18
  "class_embeddings_concat": false,
19
  "conv_in_kernel": 3,
20
  "conv_out_kernel": 3,
21
- "cross_attention_dim": 768,
22
  "cross_attention_norm": null,
23
  "down_block_types": [
24
  "CrossAttnDownBlock2D",
@@ -47,7 +52,7 @@
47
  "resnet_out_scale_factor": 1.0,
48
  "resnet_skip_time_act": false,
49
  "resnet_time_scale_shift": "default",
50
- "sample_size": 64,
51
  "time_cond_proj_dim": null,
52
  "time_embedding_act_fn": null,
53
  "time_embedding_dim": null,
@@ -61,5 +66,5 @@
61
  "CrossAttnUpBlock2D"
62
  ],
63
  "upcast_attention": false,
64
- "use_linear_projection": false
65
  }
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.18.0.dev0",
4
+ "_name_or_path": "stabilityai/stable-diffusion-2",
5
  "act_fn": "silu",
6
  "addition_embed_type": null,
7
  "addition_embed_type_num_heads": 64,
8
  "addition_time_embed_dim": null,
9
+ "attention_head_dim": [
10
+ 5,
11
+ 10,
12
+ 20,
13
+ 20
14
+ ],
15
  "block_out_channels": [
16
  320,
17
  640,
 
23
  "class_embeddings_concat": false,
24
  "conv_in_kernel": 3,
25
  "conv_out_kernel": 3,
26
+ "cross_attention_dim": 1024,
27
  "cross_attention_norm": null,
28
  "down_block_types": [
29
  "CrossAttnDownBlock2D",
 
52
  "resnet_out_scale_factor": 1.0,
53
  "resnet_skip_time_act": false,
54
  "resnet_time_scale_shift": "default",
55
+ "sample_size": 96,
56
  "time_cond_proj_dim": null,
57
  "time_embedding_act_fn": null,
58
  "time_embedding_dim": null,
 
66
  "CrossAttnUpBlock2D"
67
  ],
68
  "upcast_attention": false,
69
+ "use_linear_projection": true
70
  }
unet/diffusion_pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3274e5a5384e5fd8eae2ae6d888bc3496b1590daeeb01fbc5006e44c3426e6f6
3
- size 3438375973
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15f2be242eba2bffac954e1045f9957119c8a4a31450871fb3d1e7e53fa74a48
3
+ size 3463934693
vae/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.18.0.dev0",
4
- "_name_or_path": "/root/.cache/huggingface/hub/models--CompVis--stable-diffusion-v1-4/snapshots/b95be7d6f134c3a9e62ee616f310733567f069ce/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
@@ -20,7 +20,7 @@
20
  "layers_per_block": 2,
21
  "norm_num_groups": 32,
22
  "out_channels": 3,
23
- "sample_size": 512,
24
  "scaling_factor": 0.18215,
25
  "up_block_types": [
26
  "UpDecoderBlock2D",
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.18.0.dev0",
4
+ "_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2/snapshots/1e128c8891e52218b74cde8f26dbfc701cb99d79/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
 
20
  "layers_per_block": 2,
21
  "norm_num_groups": 32,
22
  "out_channels": 3,
23
+ "sample_size": 768,
24
  "scaling_factor": 0.18215,
25
  "up_block_types": [
26
  "UpDecoderBlock2D",
vae/diffusion_pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c02e0c7c263a4c0630ca3a72380ff55b9e38e0ab41d64dff7bf620a58342bc75
3
  size 334712113
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b01618945554d9840701d3453d4a9fe3db0db090164a5ed6305641306285b6f
3
  size 334712113