-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.json
85 lines (85 loc) · 1.87 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"_attn_implementation_autoset": true,
"apply_loss_unmasked": false,
"architectures": [
"MAEModel"
],
"crop_size": -1,
"decoder": {
"_target_": "mae_modules.CAMAEDecoder",
"depth": 8,
"embed_dim": 512,
"mlp_ratio": 4,
"norm_layer": {
"_partial_": true,
"_target_": "torch.nn.LayerNorm",
"eps": 1e-06
},
"num_heads": 16,
"num_modalities": 6,
"qkv_bias": true,
"tokens_per_modality": 256
},
"encoder": {
"_target_": "mae_modules.MAEEncoder",
"channel_agnostic": true,
"max_in_chans": 11,
"vit_backbone": {
"_target_": "vit.sincos_positional_encoding_vit",
"vit_backbone": {
"_target_": "vit.vit_small_patch16_256",
"global_pool": "avg"
}
}
},
"fourier_loss": {
"_target_": "loss.FourierLoss",
"num_multimodal_modalities": 6
},
"fourier_loss_weight": 0.0,
"input_norm": {
"_args_": [
{
"_target_": "normalizer.Normalizer"
},
{
"_target_": "torch.nn.InstanceNorm2d",
"affine": false,
"num_features": null,
"track_running_stats": false
}
],
"_target_": "torch.nn.Sequential"
},
"layernorm_unfreeze": true,
"loss": {
"_target_": "torch.nn.MSELoss",
"reduction": "none"
},
"lr_scheduler": {
"_partial_": true,
"_target_": "torch.optim.lr_scheduler.OneCycleLR",
"anneal_strategy": "cos",
"max_lr": 0.0001,
"pct_start": 0.1
},
"mask_fourier_loss": true,
"mask_ratio": 0.0,
"model_type": "MAE",
"norm_pix_loss": false,
"num_blocks_to_freeze": 0,
"optimizer": {
"_partial_": true,
"_target_": "timm.optim.lion.Lion",
"betas": [
0.9,
0.95
],
"lr": 0.0001,
"weight_decay": 0.05
},
"torch_dtype": "float32",
"transformers_version": "4.46.1",
"trim_encoder_blocks": null,
"use_MAE_weight_init": false
}