Miayan commited on
Commit
eeb35c5
·
verified ·
1 Parent(s): fbede69

Add checkpoint for train_ex6_13

Browse files
train_ex6_13/checkpoint-235000/controlnet/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ControlNetModel",
3
+ "_diffusers_version": "0.33.1",
4
+ "act_fn": "silu",
5
+ "addition_embed_type": null,
6
+ "addition_embed_type_num_heads": 64,
7
+ "addition_time_embed_dim": null,
8
+ "attention_head_dim": [
9
+ 5,
10
+ 10,
11
+ 20,
12
+ 20
13
+ ],
14
+ "block_out_channels": [
15
+ 320,
16
+ 640,
17
+ 1280,
18
+ 1280
19
+ ],
20
+ "class_embed_type": null,
21
+ "conditioning_channels": 6,
22
+ "conditioning_embedding_out_channels": [
23
+ 16,
24
+ 32,
25
+ 96,
26
+ 256
27
+ ],
28
+ "controlnet_conditioning_channel_order": "rgb",
29
+ "cross_attention_dim": 1024,
30
+ "down_block_types": [
31
+ "CrossAttnDownBlock2D",
32
+ "CrossAttnDownBlock2D",
33
+ "CrossAttnDownBlock2D",
34
+ "DownBlock2D"
35
+ ],
36
+ "downsample_padding": 1,
37
+ "encoder_hid_dim": null,
38
+ "encoder_hid_dim_type": null,
39
+ "flip_sin_to_cos": true,
40
+ "freq_shift": 0,
41
+ "global_pool_conditions": false,
42
+ "in_channels": 4,
43
+ "layers_per_block": 2,
44
+ "mid_block_scale_factor": 1,
45
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
46
+ "norm_eps": 1e-05,
47
+ "norm_num_groups": 32,
48
+ "num_attention_heads": null,
49
+ "num_class_embeds": null,
50
+ "only_cross_attention": false,
51
+ "projection_class_embeddings_input_dim": null,
52
+ "resnet_time_scale_shift": "default",
53
+ "transformer_layers_per_block": 1,
54
+ "upcast_attention": true,
55
+ "use_linear_projection": true
56
+ }
train_ex6_13/checkpoint-235000/controlnet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d3e33b755156df056b00fd2f973de751905826976c6946aec7b718a4bcab8cf
3
+ size 1461729992
train_ex6_13/checkpoint-235000/custom_encoder/config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Bc": 4,
3
+ "Bi": 4,
4
+ "K": 4,
5
+ "_class_name": "CustomEncoder",
6
+ "_diffusers_version": "0.33.1",
7
+ "cross_dim": 1024
8
+ }
train_ex6_13/checkpoint-235000/custom_encoder/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73798009669678b99d73718e0d60398f3fa846695c96cb7a54f4dcefad7b32e3
3
+ size 4531800
train_ex6_13/checkpoint-235000/custom_unet.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56d2bf477843aebb49f6042fbf8ac75cc232c57dd1ee47e605fe91fc8e50a825
3
+ size 3463973299
train_ex6_13/checkpoint-235000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5753a57af1cc9603b6a2a97acbaba22832fe1abaa7d0078562bb89f553684d7b
3
+ size 5573559453
train_ex6_13/checkpoint-235000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a295182b527fec208881c6f1f194a6ef1fe9051475c2ec218635bc597a5e11ab
3
+ size 14757
train_ex6_13/checkpoint-235000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d12031bb7c68d1965b9962c3715f5b420ecca0a3e10fa2490c4b73141a232943
3
+ size 1401
train_ex6_13/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ControlNetModel",
3
+ "_diffusers_version": "0.33.1",
4
+ "act_fn": "silu",
5
+ "addition_embed_type": null,
6
+ "addition_embed_type_num_heads": 64,
7
+ "addition_time_embed_dim": null,
8
+ "attention_head_dim": [
9
+ 5,
10
+ 10,
11
+ 20,
12
+ 20
13
+ ],
14
+ "block_out_channels": [
15
+ 320,
16
+ 640,
17
+ 1280,
18
+ 1280
19
+ ],
20
+ "class_embed_type": null,
21
+ "conditioning_channels": 6,
22
+ "conditioning_embedding_out_channels": [
23
+ 16,
24
+ 32,
25
+ 96,
26
+ 256
27
+ ],
28
+ "controlnet_conditioning_channel_order": "rgb",
29
+ "cross_attention_dim": 1024,
30
+ "down_block_types": [
31
+ "CrossAttnDownBlock2D",
32
+ "CrossAttnDownBlock2D",
33
+ "CrossAttnDownBlock2D",
34
+ "DownBlock2D"
35
+ ],
36
+ "downsample_padding": 1,
37
+ "encoder_hid_dim": null,
38
+ "encoder_hid_dim_type": null,
39
+ "flip_sin_to_cos": true,
40
+ "freq_shift": 0,
41
+ "global_pool_conditions": false,
42
+ "in_channels": 4,
43
+ "layers_per_block": 2,
44
+ "mid_block_scale_factor": 1,
45
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
46
+ "norm_eps": 1e-05,
47
+ "norm_num_groups": 32,
48
+ "num_attention_heads": null,
49
+ "num_class_embeds": null,
50
+ "only_cross_attention": false,
51
+ "projection_class_embeddings_input_dim": null,
52
+ "resnet_time_scale_shift": "default",
53
+ "transformer_layers_per_block": 1,
54
+ "upcast_attention": true,
55
+ "use_linear_projection": true
56
+ }
train_ex6_13/config.yaml ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ experiment:
2
+ project_name: relighting_indoors
3
+ output_dir: train_ex6_13
4
+ logging_dir: logs
5
+ report_to: tensorboard
6
+ model:
7
+ pretrained_model_name_or_path: /mnt/HDD3/miayan/paper/envs/huggingface_cache/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6
8
+ revision: null
9
+ variant: null
10
+ tokenizer_name: null
11
+ hf_repo_id: Miayan/project
12
+ hf_version: null
13
+ pretrain_unet_path: scribblelight_controlnet/checkpoint-10000
14
+ resume_from_checkpoint: latest
15
+ light_encoder:
16
+ cross_dim: 768
17
+ K: 4
18
+ Bi: 4
19
+ Bc: 4
20
+ albedo_estimator:
21
+ enabled: false
22
+ version: v2
23
+ load_stage: 3
24
+ frozen_components:
25
+ - ord_model
26
+ - iid_model
27
+ - col_model
28
+ trainable_components:
29
+ - alb_model
30
+ data:
31
+ dataset_cache_dir: /mnt/HDD3/miayan/paper/relighting_datasets/
32
+ data_hf_repo_id: Miayan/physical-relighting-dataset
33
+ data_split: test
34
+ resolution: 256
35
+ dataloader_num_workers: 0
36
+ condition_mode: lightmap_normal
37
+ colors:
38
+ - - 255
39
+ - 255
40
+ - 255
41
+ - - 255
42
+ - 0
43
+ - 0
44
+ - - 0
45
+ - 255
46
+ - 0
47
+ - - 0
48
+ - 0
49
+ - 255
50
+ - - 255
51
+ - 255
52
+ - 0
53
+ - - 255
54
+ - 165
55
+ - 0
56
+ - - 128
57
+ - 0
58
+ - 128
59
+ - - 255
60
+ - 192
61
+ - 203
62
+ - - 0
63
+ - 255
64
+ - 255
65
+ - - 255
66
+ - 0
67
+ - 255
68
+ intensities:
69
+ - 0.0
70
+ - 0.1
71
+ - 0.2
72
+ - 0.4
73
+ - 0.7
74
+ - 1.0
75
+ training:
76
+ batch_size: 1
77
+ num_epochs: 20
78
+ max_train_steps: null
79
+ max_train_samples: null
80
+ seed: 42
81
+ mixed_precision: 'no'
82
+ allow_tf32: true
83
+ gradient_accumulation_steps: 1
84
+ checkpointing_steps: 5000
85
+ checkpoints_total_limit: null
86
+ learning_rate: 5.0e-06
87
+ scale_lr: false
88
+ lr_scheduler: constant
89
+ lr_warmup_steps: 500
90
+ adam_beta1: 0.9
91
+ adam_beta2: 0.999
92
+ adam_weight_decay: 0.01
93
+ adam_epsilon: 1.0e-08
94
+ max_grad_norm: 1.0
95
+ use_8bit_adam: false
96
+ set_grads_to_none: false
97
+ losses:
98
+ phys_loss:
99
+ enabled: true
100
+ weight: 1.0
101
+ latent_loss:
102
+ enabled: true
103
+ weight: 1.0
104
+ image_loss:
105
+ enabled: true
106
+ weight: 1.0
107
+ area_loss:
108
+ enabled: false
109
+ weight: 10.0
110
+ intensity_loss:
111
+ enabled: false
112
+ weight: 1.0
113
+ recon_loss:
114
+ enabled: true
115
+ weight: 1.0
116
+ keep_aux_models_on_gpu: true
train_ex6_13/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:528d16bcf9c699a5038a31a4897373ce7b8fc27f08e8119d10ebcc2a8f8dc173
3
+ size 1461729992