haorandai commited on
Commit
9983aaa
·
verified ·
1 Parent(s): cb94523

End of training

Browse files
README.md CHANGED
@@ -10,11 +10,11 @@ tags:
10
  - diffusers-training
11
  - stable-diffusion-xl
12
  - stable-diffusion-xl-diffusers
13
- - stable-diffusion-xl
14
- - stable-diffusion-xl-diffusers
15
  - text-to-image
16
- - diffusers-training
17
  - diffusers
 
18
  inference: true
19
  ---
20
 
 
10
  - diffusers-training
11
  - stable-diffusion-xl
12
  - stable-diffusion-xl-diffusers
13
+ - stable-diffusion
14
+ - stable-diffusion-diffusers
15
  - text-to-image
 
16
  - diffusers
17
+ - diffusers-training
18
  inference: true
19
  ---
20
 
logs/text2image-fine-tune/1728308018.007925/events.out.tfevents.1728308018.datasec.engr.uconn.edu.5056.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4773490919c0a2aa253454d6511102a44970c5e9dd845a4364fb23609995696f
3
+ size 2645
logs/text2image-fine-tune/1728308018.0096645/hparams.yml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 500
10
+ checkpoints_total_limit: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: null
13
+ dataset_name: haorandai/Vehicle_Bicycle_Epsilon0.1_20Samples_With20Constraints
14
+ dream_detail_preservation: 1.0
15
+ dream_training: false
16
+ enable_xformers_memory_efficient_attention: false
17
+ foreach_ema: false
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: true
20
+ hub_model_id: null
21
+ hub_token: null
22
+ image_column: image
23
+ input_perturbation: 0
24
+ learning_rate: 1.0e-05
25
+ local_rank: -1
26
+ logging_dir: logs
27
+ lr_scheduler: constant
28
+ lr_warmup_steps: 500
29
+ max_grad_norm: 1.0
30
+ max_train_samples: null
31
+ max_train_steps: 200
32
+ mixed_precision: fp16
33
+ noise_offset: 0
34
+ non_ema_revision: null
35
+ num_train_epochs: 20
36
+ offload_ema: false
37
+ output_dir: /mnt/nvme1n1p1/home/biw23007/haoran/different_uf_finetune_model_dir_1e-05_200_withconstraint/haorandai/Vehicle_Bicycle_Epsilon0.1_20Samples_With20Constraints/
38
+ prediction_type: null
39
+ pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
40
+ push_to_hub: true
41
+ random_flip: true
42
+ report_to: tensorboard
43
+ resolution: 224
44
+ resume_from_checkpoint: null
45
+ revision: null
46
+ scale_lr: false
47
+ seed: null
48
+ snr_gamma: null
49
+ tracker_project_name: text2image-fine-tune
50
+ train_batch_size: 1
51
+ train_data_dir: null
52
+ use_8bit_adam: false
53
+ use_ema: true
54
+ validation_epochs: 5
55
+ variant: null
logs/text2image-fine-tune/events.out.tfevents.1728308018.datasec.engr.uconn.edu.5056.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31c207d8554e642aeeee5e39e0a2e2826556c5d6d826286e3a1a1ad3f30cf0df
3
+ size 9761
model_index.json CHANGED
@@ -1,36 +1,32 @@
1
  {
2
- "_class_name": "StableDiffusionXLPipeline",
3
  "_diffusers_version": "0.31.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
5
  "feature_extractor": [
6
- null,
7
- null
8
  ],
9
- "force_zeros_for_empty_prompt": true,
10
  "image_encoder": [
11
  null,
12
  null
13
  ],
 
 
 
 
 
14
  "scheduler": [
15
  "diffusers",
16
- "EulerDiscreteScheduler"
17
  ],
18
  "text_encoder": [
19
  "transformers",
20
  "CLIPTextModel"
21
  ],
22
- "text_encoder_2": [
23
- "transformers",
24
- "CLIPTextModelWithProjection"
25
- ],
26
  "tokenizer": [
27
  "transformers",
28
  "CLIPTokenizer"
29
  ],
30
- "tokenizer_2": [
31
- "transformers",
32
- "CLIPTokenizer"
33
- ],
34
  "unet": [
35
  "diffusers",
36
  "UNet2DConditionModel"
 
1
  {
2
+ "_class_name": "StableDiffusionPipeline",
3
  "_diffusers_version": "0.31.0.dev0",
4
+ "_name_or_path": "CompVis/stable-diffusion-v1-4",
5
  "feature_extractor": [
6
+ "transformers",
7
+ "CLIPImageProcessor"
8
  ],
 
9
  "image_encoder": [
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",
24
  "CLIPTextModel"
25
  ],
 
 
 
 
26
  "tokenizer": [
27
  "transformers",
28
  "CLIPTokenizer"
29
  ],
 
 
 
 
30
  "unet": [
31
  "diffusers",
32
  "UNet2DConditionModel"
scheduler/scheduler_config.json CHANGED
@@ -1,23 +1,15 @@
1
  {
2
- "_class_name": "EulerDiscreteScheduler",
3
  "_diffusers_version": "0.31.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
7
  "clip_sample": false,
8
- "final_sigmas_type": "zero",
9
- "interpolation_type": "linear",
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
- "sigma_max": null,
16
- "sigma_min": null,
17
  "skip_prk_steps": true,
18
  "steps_offset": 1,
19
  "timestep_spacing": "leading",
20
- "timestep_type": "discrete",
21
- "trained_betas": null,
22
- "use_karras_sigmas": false
23
  }
 
1
  {
2
+ "_class_name": "PNDMScheduler",
3
  "_diffusers_version": "0.31.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": "/home/biw23007/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/text_encoder",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
@@ -18,7 +18,7 @@
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.44.2",
24
  "vocab_size": 49408
 
1
  {
2
+ "_name_or_path": "CompVis/stable-diffusion-v1-4",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
18
  "num_attention_heads": 12,
19
  "num_hidden_layers": 12,
20
  "pad_token_id": 1,
21
+ "projection_dim": 512,
22
  "torch_dtype": "float16",
23
  "transformers_version": "4.44.2",
24
  "vocab_size": 49408
unet/config.json CHANGED
@@ -1,20 +1,17 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.31.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
5
  "act_fn": "silu",
6
- "addition_embed_type": "text_time",
7
  "addition_embed_type_num_heads": 64,
8
- "addition_time_embed_dim": 256,
9
- "attention_head_dim": [
10
- 5,
11
- 10,
12
- 20
13
- ],
14
  "attention_type": "default",
15
  "block_out_channels": [
16
  320,
17
  640,
 
18
  1280
19
  ],
20
  "center_input_sample": false,
@@ -22,12 +19,13 @@
22
  "class_embeddings_concat": false,
23
  "conv_in_kernel": 3,
24
  "conv_out_kernel": 3,
25
- "cross_attention_dim": 2048,
26
  "cross_attention_norm": null,
27
  "down_block_types": [
28
- "DownBlock2D",
29
  "CrossAttnDownBlock2D",
30
- "CrossAttnDownBlock2D"
 
 
31
  ],
32
  "downsample_padding": 1,
33
  "dropout": 0.0,
@@ -47,27 +45,24 @@
47
  "num_class_embeds": null,
48
  "only_cross_attention": false,
49
  "out_channels": 4,
50
- "projection_class_embeddings_input_dim": 2816,
51
  "resnet_out_scale_factor": 1.0,
52
  "resnet_skip_time_act": false,
53
  "resnet_time_scale_shift": "default",
54
  "reverse_transformer_layers_per_block": null,
55
- "sample_size": 128,
56
  "time_cond_proj_dim": null,
57
  "time_embedding_act_fn": null,
58
  "time_embedding_dim": null,
59
  "time_embedding_type": "positional",
60
  "timestep_post_act": null,
61
- "transformer_layers_per_block": [
62
- 1,
63
- 2,
64
- 10
65
- ],
66
  "up_block_types": [
 
67
  "CrossAttnUpBlock2D",
68
  "CrossAttnUpBlock2D",
69
- "UpBlock2D"
70
  ],
71
- "upcast_attention": null,
72
- "use_linear_projection": true
73
  }
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.31.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
  "attention_type": "default",
11
  "block_out_channels": [
12
  320,
13
  640,
14
+ 1280,
15
  1280
16
  ],
17
  "center_input_sample": false,
 
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",
26
+ "CrossAttnDownBlock2D",
27
+ "CrossAttnDownBlock2D",
28
+ "DownBlock2D"
29
  ],
30
  "downsample_padding": 1,
31
  "dropout": 0.0,
 
45
  "num_class_embeds": null,
46
  "only_cross_attention": false,
47
  "out_channels": 4,
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": "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,
57
  "time_embedding_type": "positional",
58
  "timestep_post_act": null,
59
+ "transformer_layers_per_block": 1,
 
 
 
 
60
  "up_block_types": [
61
+ "UpBlock2D",
62
  "CrossAttnUpBlock2D",
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:44c71a1d806b334fe4d68f0a3ab32d30de0c7adf11dfb40a34b8543f668c4892
3
  size 3438167536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43484359db0988fec15e9d375bce4e8b7e1ee96051ce32dcaedf864493bc24c5
3
  size 3438167536
vae/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.31.0.dev0",
4
- "_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
@@ -24,8 +24,8 @@
24
  "mid_block_add_attention": true,
25
  "norm_num_groups": 32,
26
  "out_channels": 3,
27
- "sample_size": 1024,
28
- "scaling_factor": 0.13025,
29
  "shift_factor": null,
30
  "up_block_types": [
31
  "UpDecoderBlock2D",
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.31.0.dev0",
4
+ "_name_or_path": "CompVis/stable-diffusion-v1-4",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
 
24
  "mid_block_add_attention": true,
25
  "norm_num_groups": 32,
26
  "out_channels": 3,
27
+ "sample_size": 512,
28
+ "scaling_factor": 0.18215,
29
  "shift_factor": null,
30
  "up_block_types": [
31
  "UpDecoderBlock2D",
vae/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bcb60880a46b63dea58e9bc591abe15f8350bde47b405f9c38f4be70c6161e68
3
  size 167335342
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c
3
  size 167335342