d-michail commited on
Commit
f0bd284
·
1 Parent(s): 3a920f8

Added NHSA horizon 24 checkpoints

Browse files
lam_model_ckpts/firecastnet-cls-NHSA-ts24-h24-config.yaml ADDED
@@ -0,0 +1,219 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-NHSA-ts24-h24-test
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_NHSA_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 0.0
140
+ TENA: 0.0
141
+ CEAM: 0.0
142
+ NHSA: 1.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - NHSA
155
+ test_gfed_regions:
156
+ - NHSA
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 24
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-NHSA-ts24-h24/version_4/checkpoints/epoch=034-val_loss=0.0003-val_auprc=0.608.ckpt
219
+ verbose: true
lam_model_ckpts/firecastnet-cls-NHSA-ts24-h24.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20291c39a997cc85321517c29de3147c544ea8b0ea158fda7f0a6f1aaaf8ad58
3
+ size 114511767