nroggendorff commited on
Commit
fa53c2c
1 Parent(s): 4709706
logs/text2image-fine-tune/1714081180.478312/events.out.tfevents.1714081180.r-nroggendorff-jupyter-hmr6yyzh-23682-zxs8o.419.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:becfa0d0394d69bf7977cdcfa01c9a23d152fcc0cd5ff2db55d124dadc0d7fd7
3
+ size 2249
logs/text2image-fine-tune/1714081180.4926512/hparams.yml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ cache_dir: null
7
+ caption_column: text
8
+ center_crop: true
9
+ checkpointing_steps: 100000
10
+ checkpoints_total_limit: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: null
13
+ dataset_name: nroggendorff/zelda
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
+ image_column: image
20
+ input_perturbation: 0
21
+ learning_rate: 0.01
22
+ local_rank: -1
23
+ logging_dir: logs
24
+ lr_scheduler: constant
25
+ lr_warmup_steps: 0
26
+ max_grad_norm: 1.0
27
+ max_train_samples: null
28
+ max_train_steps: 10000
29
+ mixed_precision: fp16
30
+ noise_offset: 0
31
+ non_ema_revision: null
32
+ num_train_epochs: 93
33
+ output_dir: sd-zelda-model
34
+ prediction_type: null
35
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
36
+ push_to_hub: false
37
+ random_flip: true
38
+ report_to: tensorboard
39
+ resolution: 512
40
+ resume_from_checkpoint: null
41
+ revision: null
42
+ scale_lr: false
43
+ seed: null
44
+ snr_gamma: null
45
+ tracker_project_name: text2image-fine-tune
46
+ train_batch_size: 1
47
+ train_data_dir: null
48
+ use_8bit_adam: false
49
+ use_ema: true
50
+ validation_epochs: 5
51
+ variant: null
logs/text2image-fine-tune/1714081217.8511393/events.out.tfevents.1714081217.r-nroggendorff-jupyter-hmr6yyzh-23682-zxs8o.488.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c4a5303c99efd9ea0c528dfb723ac69a95ed014c8b4c82f2438f934f2aa2dd0
3
+ size 2249
logs/text2image-fine-tune/1714081217.8651016/hparams.yml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ cache_dir: null
7
+ caption_column: text
8
+ center_crop: true
9
+ checkpointing_steps: 100000
10
+ checkpoints_total_limit: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: null
13
+ dataset_name: nroggendorff/zelda
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
+ image_column: image
20
+ input_perturbation: 0
21
+ learning_rate: 1.0e-05
22
+ local_rank: -1
23
+ logging_dir: logs
24
+ lr_scheduler: constant
25
+ lr_warmup_steps: 0
26
+ max_grad_norm: 1.0
27
+ max_train_samples: null
28
+ max_train_steps: 10000
29
+ mixed_precision: fp16
30
+ noise_offset: 0
31
+ non_ema_revision: null
32
+ num_train_epochs: 93
33
+ output_dir: sd-zelda-model
34
+ prediction_type: null
35
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
36
+ push_to_hub: false
37
+ random_flip: true
38
+ report_to: tensorboard
39
+ resolution: 512
40
+ resume_from_checkpoint: null
41
+ revision: null
42
+ scale_lr: false
43
+ seed: null
44
+ snr_gamma: null
45
+ tracker_project_name: text2image-fine-tune
46
+ train_batch_size: 1
47
+ train_data_dir: null
48
+ use_8bit_adam: false
49
+ use_ema: true
50
+ validation_epochs: 5
51
+ variant: null
logs/text2image-fine-tune/1714156890.6629379/events.out.tfevents.1714156890.r-nroggendorff-jupyter-9e6ft6d4-e8cf3-drep1.284.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aa55e56b716f84ae4ef19984f515a62e364217f104e2309bc26d0ae92578ff4
3
+ size 2247
logs/text2image-fine-tune/1714156890.6823308/hparams.yml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ cache_dir: null
7
+ caption_column: text
8
+ center_crop: true
9
+ checkpointing_steps: 100000
10
+ checkpoints_total_limit: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: null
13
+ dataset_name: nroggendorff/zelda
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
+ image_column: image
20
+ input_perturbation: 0
21
+ learning_rate: 1.0e-05
22
+ local_rank: -1
23
+ logging_dir: logs
24
+ lr_scheduler: constant
25
+ lr_warmup_steps: 0
26
+ max_grad_norm: 1.0
27
+ max_train_samples: null
28
+ max_train_steps: 10000
29
+ mixed_precision: fp16
30
+ noise_offset: 0
31
+ non_ema_revision: null
32
+ num_train_epochs: 93
33
+ output_dir: sd-zelda-model
34
+ prediction_type: null
35
+ pretrained_model_name_or_path: runwayml/stable-diffusion-v1-5
36
+ push_to_hub: false
37
+ random_flip: true
38
+ report_to: tensorboard
39
+ resolution: 512
40
+ resume_from_checkpoint: null
41
+ revision: null
42
+ scale_lr: false
43
+ seed: null
44
+ snr_gamma: null
45
+ tracker_project_name: text2image-fine-tune
46
+ train_batch_size: 1
47
+ train_data_dir: null
48
+ use_8bit_adam: false
49
+ use_ema: true
50
+ validation_epochs: 5
51
+ variant: null
logs/text2image-fine-tune/events.out.tfevents.1714081180.r-nroggendorff-jupyter-hmr6yyzh-23682-zxs8o.419.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de15feb7e10ea1c86846d275bd6291a15f368b92637aa2bbc25ef90be5e55864
3
+ size 88
logs/text2image-fine-tune/events.out.tfevents.1714081217.r-nroggendorff-jupyter-hmr6yyzh-23682-zxs8o.488.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2199798a65632f19251fb5df47395764d5c4bc402a8e3fd59487775b6dfb8ff9
3
+ size 88
logs/text2image-fine-tune/events.out.tfevents.1714156890.r-nroggendorff-jupyter-9e6ft6d4-e8cf3-drep1.284.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e4b3c82a65c56c29d7f16c68c2e1bd3e1fc5512290eb7e6781ea6e92da9fd2b
3
+ size 489961
model_index.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
  "_diffusers_version": "0.28.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-2-1",
5
  "feature_extractor": [
6
  "transformers",
7
  "CLIPImageProcessor"
@@ -10,14 +10,14 @@
10
  null,
11
  null
12
  ],
13
- "requires_safety_checker": false,
14
  "safety_checker": [
15
- null,
16
- null
17
  ],
18
  "scheduler": [
19
  "diffusers",
20
- "DDIMScheduler"
21
  ],
22
  "text_encoder": [
23
  "transformers",
 
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
  "_diffusers_version": "0.28.0.dev0",
4
+ "_name_or_path": "runwayml/stable-diffusion-v1-5",
5
  "feature_extractor": [
6
  "transformers",
7
  "CLIPImageProcessor"
 
10
  null,
11
  null
12
  ],
13
+ "requires_safety_checker": true,
14
  "safety_checker": [
15
+ "stable_diffusion",
16
+ "StableDiffusionSafetyChecker"
17
  ],
18
  "scheduler": [
19
  "diffusers",
20
+ "PNDMScheduler"
21
  ],
22
  "text_encoder": [
23
  "transformers",
safety_checker/config.json CHANGED
@@ -15,7 +15,7 @@
15
  "num_attention_heads": 12
16
  },
17
  "torch_dtype": "float32",
18
- "transformers_version": "4.40.0",
19
  "vision_config": {
20
  "dropout": 0.0,
21
  "hidden_size": 1024,
 
15
  "num_attention_heads": 12
16
  },
17
  "torch_dtype": "float32",
18
+ "transformers_version": "4.40.1",
19
  "vision_config": {
20
  "dropout": 0.0,
21
  "hidden_size": 1024,
scheduler/scheduler_config.json CHANGED
@@ -1,20 +1,15 @@
1
  {
2
- "_class_name": "DDIMScheduler",
3
  "_diffusers_version": "0.28.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
  }
 
1
  {
2
+ "_class_name": "PNDMScheduler",
3
  "_diffusers_version": "0.28.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
  }
text_encoder/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "stabilityai/stable-diffusion-2-1",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
@@ -7,18 +7,18 @@
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": "float16",
23
  "transformers_version": "4.40.1",
24
  "vocab_size": 49408
 
1
  {
2
+ "_name_or_path": "runwayml/stable-diffusion-v1-5",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
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": 768,
22
  "torch_dtype": "float16",
23
  "transformers_version": "4.40.1",
24
  "vocab_size": 49408
text_encoder/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bc1827c465450322616f06dea41596eac7d493f4e95904dcb51f0fc745c4e13f
3
- size 680820392
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd
3
+ size 246144152
tokenizer/special_tokens_map.json CHANGED
@@ -13,7 +13,7 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": "!",
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": "<|endoftext|>",
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
tokenizer/tokenizer_config.json CHANGED
@@ -1,14 +1,6 @@
1
  {
2
  "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
- "0": {
5
- "content": "!",
6
- "lstrip": false,
7
- "normalized": false,
8
- "rstrip": false,
9
- "single_word": false,
10
- "special": true
11
- },
12
  "49406": {
13
  "content": "<|startoftext|>",
14
  "lstrip": false,
@@ -32,7 +24,7 @@
32
  "eos_token": "<|endoftext|>",
33
  "errors": "replace",
34
  "model_max_length": 77,
35
- "pad_token": "!",
36
  "tokenizer_class": "CLIPTokenizer",
37
  "unk_token": "<|endoftext|>"
38
  }
 
1
  {
2
  "add_prefix_space": false,
3
  "added_tokens_decoder": {
 
 
 
 
 
 
 
 
4
  "49406": {
5
  "content": "<|startoftext|>",
6
  "lstrip": false,
 
24
  "eos_token": "<|endoftext|>",
25
  "errors": "replace",
26
  "model_max_length": 77,
27
+ "pad_token": "<|endoftext|>",
28
  "tokenizer_class": "CLIPTokenizer",
29
  "unk_token": "<|endoftext|>"
30
  }
unet/config.json CHANGED
@@ -1,17 +1,12 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.28.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-2-1",
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
  "attention_type": "default",
16
  "block_out_channels": [
17
  320,
@@ -24,7 +19,7 @@
24
  "class_embeddings_concat": false,
25
  "conv_in_kernel": 3,
26
  "conv_out_kernel": 3,
27
- "cross_attention_dim": 1024,
28
  "cross_attention_norm": null,
29
  "down_block_types": [
30
  "CrossAttnDownBlock2D",
@@ -55,7 +50,7 @@
55
  "resnet_skip_time_act": false,
56
  "resnet_time_scale_shift": "default",
57
  "reverse_transformer_layers_per_block": null,
58
- "sample_size": 96,
59
  "time_cond_proj_dim": null,
60
  "time_embedding_act_fn": null,
61
  "time_embedding_dim": null,
@@ -68,6 +63,6 @@
68
  "CrossAttnUpBlock2D",
69
  "CrossAttnUpBlock2D"
70
  ],
71
- "upcast_attention": true,
72
- "use_linear_projection": true
73
  }
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.28.0.dev0",
4
+ "_name_or_path": "runwayml/stable-diffusion-v1-5",
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
  "attention_type": "default",
11
  "block_out_channels": [
12
  320,
 
19
  "class_embeddings_concat": false,
20
  "conv_in_kernel": 3,
21
  "conv_out_kernel": 3,
22
+ "cross_attention_dim": 768,
23
  "cross_attention_norm": null,
24
  "down_block_types": [
25
  "CrossAttnDownBlock2D",
 
50
  "resnet_skip_time_act": false,
51
  "resnet_time_scale_shift": "default",
52
  "reverse_transformer_layers_per_block": null,
53
+ "sample_size": 64,
54
  "time_cond_proj_dim": null,
55
  "time_embedding_act_fn": null,
56
  "time_embedding_dim": null,
 
63
  "CrossAttnUpBlock2D",
64
  "CrossAttnUpBlock2D"
65
  ],
66
+ "upcast_attention": false,
67
+ "use_linear_projection": false
68
  }
unet/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:243b7ad476b2821c0d93a7150810e86acd3d317a428338e2cda7a0ff556a7866
3
- size 3463726504
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:389c0327e81edd5b0ab7a8d633340654e99c7ff92c533428cccfb33762f5c04e
3
+ size 3438167536
vae/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.28.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-2-1",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
@@ -23,7 +23,7 @@
23
  "layers_per_block": 2,
24
  "norm_num_groups": 32,
25
  "out_channels": 3,
26
- "sample_size": 768,
27
  "scaling_factor": 0.18215,
28
  "up_block_types": [
29
  "UpDecoderBlock2D",
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.28.0.dev0",
4
+ "_name_or_path": "runwayml/stable-diffusion-v1-5",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
 
23
  "layers_per_block": 2,
24
  "norm_num_groups": 32,
25
  "out_channels": 3,
26
+ "sample_size": 512,
27
  "scaling_factor": 0.18215,
28
  "up_block_types": [
29
  "UpDecoderBlock2D",
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:4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c
3
  size 167335342