aditya11997 commited on
Commit
25e9634
1 Parent(s): f226276

End of training

Browse files
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ license: creativeml-openrail-m
4
+ base_model: kandinsky-community/kandinsky-2-2-decoder
5
+ datasets:
6
+ - kbharat7/DogChestXrayDatasetNew
7
+ prior:
8
+ - kandinsky-community/kandinsky-2-2-prior
9
+ tags:
10
+ - kandinsky
11
+ - text-to-image
12
+ - diffusers
13
+ - diffusers-training
14
+ inference: true
15
+ ---
16
+
17
+ # Finetuning - aditya11997/kandi2-decoder-3.2
18
+
19
+ This pipeline was finetuned from **kandinsky-community/kandinsky-2-2-decoder** on the **kbharat7/DogChestXrayDatasetNew** dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['photo of dogxraysmall']:
20
+
21
+ ![val_imgs_grid](./val_imgs_grid.png)
22
+
23
+
24
+ ## Pipeline usage
25
+
26
+ You can use the pipeline like so:
27
+
28
+ ```python
29
+ from diffusers import DiffusionPipeline
30
+ import torch
31
+
32
+ pipeline = AutoPipelineForText2Image.from_pretrained("aditya11997/kandi2-decoder-3.2", torch_dtype=torch.float16)
33
+ prompt = "photo of dogxraysmall"
34
+ image = pipeline(prompt).images[0]
35
+ image.save("my_image.png")
36
+ ```
37
+
38
+ ## Training info
39
+
40
+ These are the key hyperparameters used during training:
41
+
42
+ * Epochs: 43
43
+ * Learning rate: 1e-05
44
+ * Batch size: 1
45
+ * Gradient accumulation steps: 4
46
+ * Image resolution: 768
47
+ * Mixed-precision: None
48
+
checkpoint-14000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c34992bf0403977fcbdc30c476d3aa5dcc7b2e118edab123a96253666b06021e
3
+ size 10025086606
checkpoint-14000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba38307af031359809fa2a653e53a35484d9fc58a11eb94efd1657d16b21cdad
3
+ size 14280
checkpoint-14000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00bb09f9c014e2d09a23c386a42d4dda2a729d254605589f0306cf0dd52f45c6
3
+ size 988
checkpoint-14000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6e10cbbd47d49c2812d890f2ea3cdaa9e47f3de73dd6dfd6a8f0b7a20e1293f
3
+ size 1000
checkpoint-14000/unet/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "_name_or_path": "kandinsky-community/kandinsky-2-2-decoder",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": "image",
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": 64,
10
+ "attention_type": "default",
11
+ "block_out_channels": [
12
+ 384,
13
+ 768,
14
+ 1152,
15
+ 1536
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
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
+ "ResnetDownsampleBlock2D",
26
+ "SimpleCrossAttnDownBlock2D",
27
+ "SimpleCrossAttnDownBlock2D",
28
+ "SimpleCrossAttnDownBlock2D"
29
+ ],
30
+ "downsample_padding": 1,
31
+ "dropout": 0.0,
32
+ "dual_cross_attention": false,
33
+ "encoder_hid_dim": 1280,
34
+ "encoder_hid_dim_type": "image_proj",
35
+ "flip_sin_to_cos": true,
36
+ "freq_shift": 0,
37
+ "in_channels": 4,
38
+ "layers_per_block": 3,
39
+ "mid_block_only_cross_attention": null,
40
+ "mid_block_scale_factor": 1,
41
+ "mid_block_type": "UNetMidBlock2DSimpleCrossAttn",
42
+ "norm_eps": 1e-05,
43
+ "norm_num_groups": 32,
44
+ "num_attention_heads": null,
45
+ "num_class_embeds": null,
46
+ "only_cross_attention": false,
47
+ "out_channels": 8,
48
+ "projection_class_embeddings_input_dim": null,
49
+ "resnet_out_scale_factor": 1.0,
50
+ "resnet_skip_time_act": false,
51
+ "resnet_time_scale_shift": "scale_shift",
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,
57
+ "time_embedding_type": "positional",
58
+ "timestep_post_act": null,
59
+ "transformer_layers_per_block": 1,
60
+ "up_block_types": [
61
+ "SimpleCrossAttnUpBlock2D",
62
+ "SimpleCrossAttnUpBlock2D",
63
+ "SimpleCrossAttnUpBlock2D",
64
+ "ResnetUpsampleBlock2D"
65
+ ],
66
+ "upcast_attention": false,
67
+ "use_linear_projection": false
68
+ }
checkpoint-14000/unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed16c83e7847413f555db6f66ed5c4784eb4db64376b994259f8cd663a6e1c71
3
+ size 5012309584
checkpoint-14500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe888e7593662792603442b31a2f0430a892931cd6bfe013f5900b7bd23090bf
3
+ size 10025086606
checkpoint-14500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e58263185437e7464269c1c3d23b31a85d40fb197e1527c3addd05b0ce04b26
3
+ size 14280
checkpoint-14500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0fe6f6091fdeb2607710512dfc5062804834bdd1b731384cc21adcb533d0d87
3
+ size 988
checkpoint-14500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dde392c63867243f73026beb29f7cdbfa91c220c86daca9f55482421fdc0eb3
3
+ size 1000
checkpoint-14500/unet/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "_name_or_path": "kandinsky-community/kandinsky-2-2-decoder",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": "image",
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": 64,
10
+ "attention_type": "default",
11
+ "block_out_channels": [
12
+ 384,
13
+ 768,
14
+ 1152,
15
+ 1536
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
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
+ "ResnetDownsampleBlock2D",
26
+ "SimpleCrossAttnDownBlock2D",
27
+ "SimpleCrossAttnDownBlock2D",
28
+ "SimpleCrossAttnDownBlock2D"
29
+ ],
30
+ "downsample_padding": 1,
31
+ "dropout": 0.0,
32
+ "dual_cross_attention": false,
33
+ "encoder_hid_dim": 1280,
34
+ "encoder_hid_dim_type": "image_proj",
35
+ "flip_sin_to_cos": true,
36
+ "freq_shift": 0,
37
+ "in_channels": 4,
38
+ "layers_per_block": 3,
39
+ "mid_block_only_cross_attention": null,
40
+ "mid_block_scale_factor": 1,
41
+ "mid_block_type": "UNetMidBlock2DSimpleCrossAttn",
42
+ "norm_eps": 1e-05,
43
+ "norm_num_groups": 32,
44
+ "num_attention_heads": null,
45
+ "num_class_embeds": null,
46
+ "only_cross_attention": false,
47
+ "out_channels": 8,
48
+ "projection_class_embeddings_input_dim": null,
49
+ "resnet_out_scale_factor": 1.0,
50
+ "resnet_skip_time_act": false,
51
+ "resnet_time_scale_shift": "scale_shift",
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,
57
+ "time_embedding_type": "positional",
58
+ "timestep_post_act": null,
59
+ "transformer_layers_per_block": 1,
60
+ "up_block_types": [
61
+ "SimpleCrossAttnUpBlock2D",
62
+ "SimpleCrossAttnUpBlock2D",
63
+ "SimpleCrossAttnUpBlock2D",
64
+ "ResnetUpsampleBlock2D"
65
+ ],
66
+ "upcast_attention": false,
67
+ "use_linear_projection": false
68
+ }
checkpoint-14500/unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15f941eb846616be700628958b4e90e5652a813fd14648f01b9d4e735dbcff0d
3
+ size 5012309584
checkpoint-15000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:472dc27bd670eb226d08bb9e407b07764fc148f91640cfa72f7b8a04d9b2202a
3
+ size 10025086606
checkpoint-15000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dbb4f1a2759aec479b71dc20728a364fd3ac00325b03aaf01f98eba5cfc2207
3
+ size 14280
checkpoint-15000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03f96b3e5a559b7436287185fb65d5daacdab539d1d46f38b6c34b1b4f755db3
3
+ size 988
checkpoint-15000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9700d5c8fee00359a65bf5fc823611a3cb001ecff42360c896b8cb0139e201ee
3
+ size 1000
checkpoint-15000/unet/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "_name_or_path": "kandinsky-community/kandinsky-2-2-decoder",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": "image",
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": 64,
10
+ "attention_type": "default",
11
+ "block_out_channels": [
12
+ 384,
13
+ 768,
14
+ 1152,
15
+ 1536
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
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
+ "ResnetDownsampleBlock2D",
26
+ "SimpleCrossAttnDownBlock2D",
27
+ "SimpleCrossAttnDownBlock2D",
28
+ "SimpleCrossAttnDownBlock2D"
29
+ ],
30
+ "downsample_padding": 1,
31
+ "dropout": 0.0,
32
+ "dual_cross_attention": false,
33
+ "encoder_hid_dim": 1280,
34
+ "encoder_hid_dim_type": "image_proj",
35
+ "flip_sin_to_cos": true,
36
+ "freq_shift": 0,
37
+ "in_channels": 4,
38
+ "layers_per_block": 3,
39
+ "mid_block_only_cross_attention": null,
40
+ "mid_block_scale_factor": 1,
41
+ "mid_block_type": "UNetMidBlock2DSimpleCrossAttn",
42
+ "norm_eps": 1e-05,
43
+ "norm_num_groups": 32,
44
+ "num_attention_heads": null,
45
+ "num_class_embeds": null,
46
+ "only_cross_attention": false,
47
+ "out_channels": 8,
48
+ "projection_class_embeddings_input_dim": null,
49
+ "resnet_out_scale_factor": 1.0,
50
+ "resnet_skip_time_act": false,
51
+ "resnet_time_scale_shift": "scale_shift",
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,
57
+ "time_embedding_type": "positional",
58
+ "timestep_post_act": null,
59
+ "transformer_layers_per_block": 1,
60
+ "up_block_types": [
61
+ "SimpleCrossAttnUpBlock2D",
62
+ "SimpleCrossAttnUpBlock2D",
63
+ "SimpleCrossAttnUpBlock2D",
64
+ "ResnetUpsampleBlock2D"
65
+ ],
66
+ "upcast_attention": false,
67
+ "use_linear_projection": false
68
+ }
checkpoint-15000/unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a69073d82fa9a66e0419ac06ae1456b0132ced973204129d60c5a4f726c80441
3
+ size 5012309584
logs/text2image-fine-tune/1709670384.7346168/events.out.tfevents.1709670384.9a0a6aa6c700.22134.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3f0e194508c6afa375ac81a7dbe8a9f3f5525460b414c3a7d7122f4e5cd033b
3
+ size 2162
logs/text2image-fine-tune/1709670384.7363515/hparams.yml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0
5
+ allow_tf32: false
6
+ cache_dir: null
7
+ checkpointing_steps: 500
8
+ checkpoints_total_limit: 3
9
+ dataloader_num_workers: 0
10
+ dataset_config_name: null
11
+ dataset_name: kbharat7/DogChestXrayDatasetNew
12
+ enable_xformers_memory_efficient_attention: false
13
+ gradient_accumulation_steps: 4
14
+ gradient_checkpointing: true
15
+ hub_model_id: null
16
+ hub_token: null
17
+ image_column: image
18
+ learning_rate: 1.0e-05
19
+ local_rank: -1
20
+ logging_dir: logs
21
+ lr_scheduler: constant
22
+ lr_warmup_steps: 0
23
+ max_grad_norm: 1.0
24
+ max_train_samples: null
25
+ max_train_steps: 15000
26
+ mixed_precision: null
27
+ num_train_epochs: 43
28
+ output_dir: kandi2-decoder-3.2
29
+ pretrained_decoder_model_name_or_path: kandinsky-community/kandinsky-2-2-decoder
30
+ pretrained_prior_model_name_or_path: kandinsky-community/kandinsky-2-2-prior
31
+ push_to_hub: true
32
+ report_to: tensorboard
33
+ resolution: 768
34
+ resume_from_checkpoint: null
35
+ seed: null
36
+ snr_gamma: null
37
+ tracker_project_name: text2image-fine-tune
38
+ train_batch_size: 1
39
+ train_data_dir: null
40
+ use_8bit_adam: false
41
+ use_ema: false
42
+ validation_epochs: 5
logs/text2image-fine-tune/events.out.tfevents.1709670384.9a0a6aa6c700.22134.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e77908aeb9e1fae753954976789f223b5cbca1366e1005c08b416b79063b174
3
+ size 2600898
model_index.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "KandinskyV22Pipeline",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "movq": [
5
+ "diffusers",
6
+ "VQModel"
7
+ ],
8
+ "scheduler": [
9
+ "diffusers",
10
+ "DDPMScheduler"
11
+ ],
12
+ "unet": [
13
+ "diffusers",
14
+ "UNet2DConditionModel"
15
+ ]
16
+ }
movq/config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "VQModel",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "_name_or_path": "/root/.cache/huggingface/hub/models--kandinsky-community--kandinsky-2-2-decoder/snapshots/9ae140d347fed8ce6e8bb3005dcc1f48543bb8e3/movq",
5
+ "act_fn": "silu",
6
+ "block_out_channels": [
7
+ 128,
8
+ 256,
9
+ 256,
10
+ 512
11
+ ],
12
+ "down_block_types": [
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D",
16
+ "AttnDownEncoderBlock2D"
17
+ ],
18
+ "force_upcast": false,
19
+ "in_channels": 3,
20
+ "latent_channels": 4,
21
+ "layers_per_block": 2,
22
+ "lookup_from_codebook": false,
23
+ "mid_block_add_attention": true,
24
+ "norm_num_groups": 32,
25
+ "norm_type": "spatial",
26
+ "num_vq_embeddings": 16384,
27
+ "out_channels": 3,
28
+ "sample_size": 32,
29
+ "scaling_factor": 0.18215,
30
+ "up_block_types": [
31
+ "AttnUpDecoderBlock2D",
32
+ "UpDecoderBlock2D",
33
+ "UpDecoderBlock2D",
34
+ "UpDecoderBlock2D"
35
+ ],
36
+ "vq_embed_dim": 4
37
+ }
movq/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43a5860fea195a7116f2471396c5cc9535fade9b63c4857d8a192ffd924b7002
3
+ size 271380364
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMScheduler",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "beta_end": 0.012,
5
+ "beta_schedule": "linear",
6
+ "beta_start": 0.00085,
7
+ "clip_sample": true,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "num_train_timesteps": 1000,
11
+ "prediction_type": "epsilon",
12
+ "rescale_betas_zero_snr": false,
13
+ "sample_max_value": 1.0,
14
+ "set_alpha_to_one": false,
15
+ "steps_offset": 1,
16
+ "thresholding": false,
17
+ "timestep_spacing": "leading",
18
+ "trained_betas": null,
19
+ "variance_type": "fixed_small"
20
+ }
unet/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "_name_or_path": "kandinsky-community/kandinsky-2-2-decoder",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": "image",
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": 64,
10
+ "attention_type": "default",
11
+ "block_out_channels": [
12
+ 384,
13
+ 768,
14
+ 1152,
15
+ 1536
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
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
+ "ResnetDownsampleBlock2D",
26
+ "SimpleCrossAttnDownBlock2D",
27
+ "SimpleCrossAttnDownBlock2D",
28
+ "SimpleCrossAttnDownBlock2D"
29
+ ],
30
+ "downsample_padding": 1,
31
+ "dropout": 0.0,
32
+ "dual_cross_attention": false,
33
+ "encoder_hid_dim": 1280,
34
+ "encoder_hid_dim_type": "image_proj",
35
+ "flip_sin_to_cos": true,
36
+ "freq_shift": 0,
37
+ "in_channels": 4,
38
+ "layers_per_block": 3,
39
+ "mid_block_only_cross_attention": null,
40
+ "mid_block_scale_factor": 1,
41
+ "mid_block_type": "UNetMidBlock2DSimpleCrossAttn",
42
+ "norm_eps": 1e-05,
43
+ "norm_num_groups": 32,
44
+ "num_attention_heads": null,
45
+ "num_class_embeds": null,
46
+ "only_cross_attention": false,
47
+ "out_channels": 8,
48
+ "projection_class_embeddings_input_dim": null,
49
+ "resnet_out_scale_factor": 1.0,
50
+ "resnet_skip_time_act": false,
51
+ "resnet_time_scale_shift": "scale_shift",
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,
57
+ "time_embedding_type": "positional",
58
+ "timestep_post_act": null,
59
+ "transformer_layers_per_block": 1,
60
+ "up_block_types": [
61
+ "SimpleCrossAttnUpBlock2D",
62
+ "SimpleCrossAttnUpBlock2D",
63
+ "SimpleCrossAttnUpBlock2D",
64
+ "ResnetUpsampleBlock2D"
65
+ ],
66
+ "upcast_attention": false,
67
+ "use_linear_projection": false
68
+ }
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a69073d82fa9a66e0419ac06ae1456b0132ced973204129d60c5a4f726c80441
3
+ size 5012309584
val_imgs_grid.png ADDED