Miayan commited on
Commit
189bf84
·
verified ·
1 Parent(s): d8ae2ab

Add checkpoint for train_ex8_7

Browse files
train_ex8_7/checkpoint-235000/albedo_estimator/config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AlbedoWrapper",
3
+ "_diffusers_version": "0.33.1",
4
+ "_name_or_path": "train_ex8_7/checkpoint-160000",
5
+ "cfg": {
6
+ "enabled": true,
7
+ "frozen_components": [
8
+ "ord_model",
9
+ "iid_model",
10
+ "col_model"
11
+ ],
12
+ "load_stage": 3,
13
+ "trainable_components": [
14
+ "alb_model"
15
+ ],
16
+ "version": "v2"
17
+ }
18
+ }
train_ex8_7/checkpoint-235000/albedo_estimator/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b49cb203208c28a76de9beff02477233d44ae317454282b59cca533eab0c0c4f
3
+ size 422422660
train_ex8_7/checkpoint-235000/controlnet/config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ControlNetModel",
3
+ "_diffusers_version": "0.33.1",
4
+ "_name_or_path": "train_ex8_7/checkpoint-160000",
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,
18
+ 1280,
19
+ 1280
20
+ ],
21
+ "class_embed_type": null,
22
+ "conditioning_channels": 6,
23
+ "conditioning_embedding_out_channels": [
24
+ 16,
25
+ 32,
26
+ 96,
27
+ 256
28
+ ],
29
+ "controlnet_conditioning_channel_order": "rgb",
30
+ "cross_attention_dim": 1024,
31
+ "down_block_types": [
32
+ "CrossAttnDownBlock2D",
33
+ "CrossAttnDownBlock2D",
34
+ "CrossAttnDownBlock2D",
35
+ "DownBlock2D"
36
+ ],
37
+ "downsample_padding": 1,
38
+ "encoder_hid_dim": null,
39
+ "encoder_hid_dim_type": null,
40
+ "flip_sin_to_cos": true,
41
+ "freq_shift": 0,
42
+ "global_pool_conditions": false,
43
+ "in_channels": 4,
44
+ "layers_per_block": 2,
45
+ "mid_block_scale_factor": 1,
46
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
47
+ "norm_eps": 1e-05,
48
+ "norm_num_groups": 32,
49
+ "num_attention_heads": null,
50
+ "num_class_embeds": null,
51
+ "only_cross_attention": false,
52
+ "projection_class_embeddings_input_dim": null,
53
+ "resnet_time_scale_shift": "default",
54
+ "transformer_layers_per_block": 1,
55
+ "upcast_attention": true,
56
+ "use_linear_projection": true
57
+ }
train_ex8_7/checkpoint-235000/controlnet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a3e6e3cc02e12f7f0499e07a35a634581f7e4e0c4e594d1f509bfb208539cd3
3
+ size 1461729992
train_ex8_7/checkpoint-235000/custom_encoder/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Ba": 4,
3
+ "Bc": 4,
4
+ "Bi": 4,
5
+ "K": 4,
6
+ "_class_name": "CustomEncoder",
7
+ "_diffusers_version": "0.33.1",
8
+ "_name_or_path": "train_ex8_7/checkpoint-160000",
9
+ "cross_dim": 1024
10
+ }
train_ex8_7/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:de0747a6f959f9a76ebadd7602e31adbcb4a0fd1f4ead6d2751725d83510cb78
3
+ size 4541016
train_ex8_7/checkpoint-235000/custom_unet.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be3107b30f2154b5b0b623aba8a85d228988cfb91a3a106de6dc92adcb95bff2
3
+ size 3463973299
train_ex8_7/checkpoint-235000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4745c8e44334265f17f77b3bed981978cf409d57fea6aaf63dc9374b8f96517a
3
+ size 6407500783
train_ex8_7/checkpoint-235000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea20996b11c18cdb68346d81ac3c4e4a4864479e0eddb680837d6c8d8f5e10d1
3
+ size 14821
train_ex8_7/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_ex8_7/config.yaml ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ experiment:
2
+ project_name: relighting_indoors
3
+ output_dir: train_ex8_7
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
+ enable_ambient_cond: true
16
+ light_encoder:
17
+ cross_dim: 768
18
+ K: 4
19
+ Bi: 4
20
+ Bc: 4
21
+ Ba: 4
22
+ albedo_estimator:
23
+ enabled: true
24
+ version: v2
25
+ load_stage: 3
26
+ frozen_components:
27
+ - ord_model
28
+ - iid_model
29
+ - col_model
30
+ trainable_components:
31
+ - alb_model
32
+ data:
33
+ dataset_cache_dir: /mnt/HDD3/miayan/paper/relighting_datasets/
34
+ data_hf_repo_id: Miayan/physical-relighting-dataset
35
+ data_split: test
36
+ resolution: 256
37
+ dataloader_num_workers: 0
38
+ condition_mode: lightmap_normal
39
+ relighting_impl: gemini_amb
40
+ colors:
41
+ - - 255
42
+ - 255
43
+ - 255
44
+ - - 255
45
+ - 0
46
+ - 0
47
+ - - 0
48
+ - 255
49
+ - 0
50
+ - - 0
51
+ - 0
52
+ - 255
53
+ - - 255
54
+ - 255
55
+ - 0
56
+ - - 255
57
+ - 165
58
+ - 0
59
+ - - 128
60
+ - 0
61
+ - 128
62
+ - - 255
63
+ - 192
64
+ - 203
65
+ - - 0
66
+ - 255
67
+ - 255
68
+ - - 255
69
+ - 0
70
+ - 255
71
+ intensities:
72
+ - 0.0
73
+ - 0.1
74
+ - 0.2
75
+ - 0.4
76
+ - 0.7
77
+ - 1.0
78
+ training:
79
+ batch_size: 1
80
+ num_epochs: 20
81
+ max_train_steps: null
82
+ max_train_samples: null
83
+ seed: 42
84
+ mixed_precision: 'no'
85
+ allow_tf32: true
86
+ gradient_accumulation_steps: 1
87
+ checkpointing_steps: 5000
88
+ checkpoints_total_limit: null
89
+ learning_rate: 5.0e-06
90
+ scale_lr: false
91
+ lr_scheduler: constant
92
+ lr_warmup_steps: 500
93
+ adam_beta1: 0.9
94
+ adam_beta2: 0.999
95
+ adam_weight_decay: 0.01
96
+ adam_epsilon: 1.0e-08
97
+ max_grad_norm: 1.0
98
+ use_8bit_adam: false
99
+ set_grads_to_none: false
100
+ losses:
101
+ phys_loss:
102
+ enabled: true
103
+ weight: 1.0
104
+ latent_loss:
105
+ enabled: true
106
+ weight: 1.0
107
+ image_loss:
108
+ enabled: true
109
+ weight: 1.0
110
+ area_loss:
111
+ enabled: false
112
+ weight: 10.0
113
+ intensity_loss:
114
+ enabled: false
115
+ weight: 1.0
116
+ recon_loss:
117
+ enabled: false
118
+ weight: 1.0
119
+ keep_aux_models_on_gpu: true
120
+ sup_structure_loss:
121
+ enabled: true
122
+ weight: 1.0
123
+ enable_decay: false
124
+ start_weight: 1.0
125
+ end_weight: 0.1
126
+ decay_steps: 5000
127
+ self_recon_loss:
128
+ enabled: true
129
+ weight: 2.0
130
+ consistency_loss:
131
+ enabled: true
132
+ weight: 1.0