vulus98 commited on
Commit
968832f
·
verified ·
1 Parent(s): 6b1cb82

Upload 3 files

Browse files
config.yaml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ debug: false
2
+ seed: 42
3
+
4
+ training:
5
+ num_train_epochs: 10
6
+ max_train_steps: null
7
+ gradient_accumulation_steps: 1
8
+ only_train_attention_layers: true
9
+ gradient_checkpointing: true
10
+ resume_path: 1053553/checkpoint-last
11
+ use_EMA: true
12
+
13
+ model:
14
+ modality: depth
15
+ pretrained_path: GonzaloMG/marigold-e2e-ft-depth
16
+ checkpoint_path: null
17
+ enable_xformers: true
18
+ unet_positional_encoding: RoPE
19
+ vae_use_RoPE: true
20
+ metric_depth: false
21
+ log_scale: true
22
+
23
+ data:
24
+ data_path: /home/pf/pfstaff/data
25
+ dataset: PanoInfinigen
26
+ scenes: both
27
+ batch_size: 1
28
+ use_data_augmentation: true
29
+
30
+ optimization:
31
+ learning_rate: 3e-4
32
+ lr_exp_warmup_steps: 0.03
33
+ adam_beta1: 0.9
34
+ adam_beta2: 0.999
35
+ adam_weight_decay: 1e-2
36
+ adam_epsilon: 1e-8
37
+ clip_grad_norm: true
38
+ max_grad_norm: 1.0
39
+
40
+ loss:
41
+ l1_loss_weight: 1.0
42
+ grad_loss_weight: 20.0
43
+ normals_consistency_loss_weight: 0.1
44
+ invalid_mask_weight: 0.0
45
+
46
+ validation:
47
+ run_validation: true
48
+ run_tiny_validation: true
49
+ tiny_val_frequency: 200
50
+
51
+ logging:
52
+ tracker_project_name: Pager
53
+ model_save_path: checkpoints/
54
+ model_save_frequency: 1
55
+ loss_report_frequency: 1
56
+ img_report_frequency: 200
57
+ report_to: wandb
58
+
59
+ tensorboard:
60
+ log_path: logs
61
+
62
+ wandb:
63
+ run_name: 1053554
unet/config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.30.2",
4
+ "_name_or_path": "GonzaloMG/marigold-e2e-ft-depth",
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,
18
+ 640,
19
+ 1280,
20
+ 1280
21
+ ],
22
+ "center_input_sample": false,
23
+ "class_embed_type": null,
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",
31
+ "CrossAttnDownBlock2D",
32
+ "CrossAttnDownBlock2D",
33
+ "DownBlock2D"
34
+ ],
35
+ "downsample_padding": 1,
36
+ "dropout": 0.0,
37
+ "dual_cross_attention": false,
38
+ "encoder_hid_dim": null,
39
+ "encoder_hid_dim_type": null,
40
+ "flip_sin_to_cos": true,
41
+ "freq_shift": 0,
42
+ "in_channels": 8,
43
+ "layers_per_block": 2,
44
+ "mid_block_only_cross_attention": null,
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
+ "out_channels": 4,
53
+ "projection_class_embeddings_input_dim": null,
54
+ "resnet_out_scale_factor": 1.0,
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,
62
+ "time_embedding_type": "positional",
63
+ "timestep_post_act": null,
64
+ "transformer_layers_per_block": 1,
65
+ "up_block_types": [
66
+ "UpBlock2D",
67
+ "CrossAttnUpBlock2D",
68
+ "CrossAttnUpBlock2D",
69
+ "CrossAttnUpBlock2D"
70
+ ],
71
+ "upcast_attention": false,
72
+ "use_RoPE": true,
73
+ "use_linear_projection": true
74
+ }
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2555cac1658c9a2c4909c821fb84d3963cd2e93d12e6acb20fd2eab4c0aa80aa
3
+ size 3463772592