Added LAM (local area modelling) checkpoints for some GFED regions
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h1-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h1.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h16-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h16.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h2-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h2.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h24-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h24.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h4-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h4.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h8-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-AUST-ts24-h8.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h1-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h1.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h16-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h16.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h2-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h2.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h24-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h24.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h4-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h4.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h8-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-BOAS-ts24-h8.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h1-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h1.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h16-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h16.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h2-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h2.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h24-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h24.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h4-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h4.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h8-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-CEAS-ts24-h8.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h1-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h1.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h16-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h16.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h2-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h2.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h24-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h24.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h4-config.yaml +215 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h4.ckpt +3 -0
- lam_model_ckpts/firecastnet-cls-EQAS-ts24-h8-config.yaml +215 -0
- lam_model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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 1
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_5/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_AUST_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 1.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- AUST
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- AUST
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h1.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4fea29fb69a4e6e171ae159001129167879424c489ba649ffc1f2017d3e6b126
|
| 3 |
+
size 114511306
|
lam_model_ckpts/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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 16
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_3/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_AUST_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 1.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- AUST
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- AUST
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h16.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d27f458a40a82f15481ec2fa38e1acee67f30e0e0b4723166cdbfafe2c8f34bd
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h2-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 2
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_4/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_AUST_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 1.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- AUST
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- AUST
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h2.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c988f0de3d79a311dde5d508641cdf2679b5296861916758e77d5747f2621c26
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h24-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 24
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_3/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_AUST_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 1.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- AUST
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- AUST
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h24.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c2ddecc41009f8e5d526bc577bd08d9b097fd080b23f9e852cdc911967fc6d4
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h4-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 4
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_5/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_AUST_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 1.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- AUST
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- AUST
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h4.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd6648a26b2b25817a80c65e6c90ed6e506eef30070c93070571b35bb20b3318
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h8-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 11 |
+
init_args:
|
| 12 |
+
save_dir: ./
|
| 13 |
+
name: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 8
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_4/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_AUST_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 1.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- AUST
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- AUST
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-AUST-ts24-h8.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d099664b0dfec4b4a76c270e5187354390c1c2c0f756da36a9661601bd5fab26
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h1-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 1
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_1/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_BOAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 1.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- BOAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- BOAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h1.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3715dc7d4c82241716c398335b7bbc2437316052ce673108834292befe86946
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h16-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 16
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_3/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_BOAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 1.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- BOAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- BOAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h16.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 2
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_0/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_BOAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 1.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- BOAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- BOAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h2.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:653bc0fcd5b45f77669b30dc0fd0c362a71c863fdb1d58e9db009eb177905196
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 24
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_5/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_BOAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 1.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- BOAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- BOAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h24.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:703add7c2e59349bab48f8bb0143b4d26d152f42f40f982686585108a1c6317a
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h4-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 4
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_1/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_BOAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 1.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- BOAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- BOAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h4.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:010eadb46e65b50e078577f60eee7134117291ed9bfc566edfdb2755d8adbe81
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h8-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 8
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs/version_2/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_BOAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 1.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- BOAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- BOAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-BOAS-ts24-h8.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73db0f234afdf75519757fdc4d3053e05ceaec5020bdda719bd1d99cdbeadee8
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h1-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: ../cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 1
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_5/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_CEAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: ../cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 1.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- CEAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- CEAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h1.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3244a554ff1955d5226feeaaf0caae2398ede973c44a578b7d54a3a31ce6466c
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h16-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: ../cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 16
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_4/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_CEAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: ../cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 1.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- CEAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- CEAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h16.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b4ba1917060401ab916048f06d22bd1e5bdb4d36b34ba61d19107b4b0af265d
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h2-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: ../cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 2
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_5/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_CEAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: ../cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 1.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- CEAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- CEAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: ../cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 24
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_3/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_CEAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: ../cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 1.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- CEAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- CEAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h24.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e89a523549f7cfdc52d6b15fa012a0f7f09c38570e5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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: ../cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 4
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_6/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_CEAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: ../cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 1.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- CEAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- CEAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h4.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57d90f7f0b149c4d66a26ac745af2d5fb19f47afe29b396ca1d253c3ac6774e6
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h8-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: ../cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 8
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_16/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_CEAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: ../cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 1.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- CEAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- CEAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-CEAS-ts24-h8.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f71a8d3e18d1e361a33f9117dc4f5860c83c721b70b0fd35bcdb22c303616bb
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h1-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: ../cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 1
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_4/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EQAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: ../cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 1.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- EQAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- EQAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h1.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93af503846d2ef6526737c3174ee716b0224db973795c446b04d182e22ed3256
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h16-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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+
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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 16
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_2/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EQAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 1.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- EQAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- EQAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h16.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf80392a1d1b51836f96d432ed6b5b56ac8fa43d9d31ab6fdf19ff0aa83032c6
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h2-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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+
init_args:
|
| 12 |
+
save_dir: ./
|
| 13 |
+
name: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 2
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_4/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EQAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 1.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- EQAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- EQAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h2.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af6a0d7cb68a3fa428345ae0c415b17f5043590b43cb1bb39b86c51e2d4cb0f7
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h24-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 24
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_1/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EQAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 1.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- EQAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- EQAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h24.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5dd86713743ded5f557b643c0c1eff2d959fe613537aadc68a8284f6e5e00c5
|
| 3 |
+
size 114511306
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h4-config.yaml
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 4
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_5/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EQAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 1.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- EQAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- EQAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h4.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 8
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_3/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EQAS_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 0.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 1.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- EQAS
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- EQAS
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-EQAS-ts24-h8.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce1aac5dfb823568c8c0f9a38f977dcef12a56f39a818e9505a1a21484ddfc6d
|
| 3 |
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lightning.pytorch==2.2.2
|
| 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: lightning_logs1
|
| 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: 50
|
| 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 |
+
data:
|
| 92 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 93 |
+
input_vars:
|
| 94 |
+
- mslp
|
| 95 |
+
- tp
|
| 96 |
+
- vpd
|
| 97 |
+
- sst
|
| 98 |
+
- t2m_mean
|
| 99 |
+
- ssrd
|
| 100 |
+
- swvl1
|
| 101 |
+
- lst_day
|
| 102 |
+
- ndvi
|
| 103 |
+
- pop_dens
|
| 104 |
+
static_vars:
|
| 105 |
+
- lsm
|
| 106 |
+
generate_only_positive_samples: true
|
| 107 |
+
oci_enabled: false
|
| 108 |
+
oci_input_vars:
|
| 109 |
+
- oci_censo
|
| 110 |
+
- oci_ea
|
| 111 |
+
- oci_epo
|
| 112 |
+
- oci_gmsst
|
| 113 |
+
- oci_nao
|
| 114 |
+
- oci_nina34_anom
|
| 115 |
+
- oci_pdo
|
| 116 |
+
- oci_pna
|
| 117 |
+
- oci_soi
|
| 118 |
+
- oci_wp
|
| 119 |
+
oci_lag: 14
|
| 120 |
+
log_preprocess_input_vars:
|
| 121 |
+
- tp
|
| 122 |
+
- pop_dens
|
| 123 |
+
target_var: gwis_ba
|
| 124 |
+
target_shift: 1
|
| 125 |
+
target_var_per_area: false
|
| 126 |
+
target_var_log_process: false
|
| 127 |
+
timeseries_weeks: 24
|
| 128 |
+
lat_dim: null
|
| 129 |
+
lon_dim: null
|
| 130 |
+
lat_dim_overlap: null
|
| 131 |
+
lon_dim_overlap: null
|
| 132 |
+
time_dim_overlap: null
|
| 133 |
+
task: classification
|
| 134 |
+
batch_size: 1
|
| 135 |
+
num_workers: 4
|
| 136 |
+
pin_memory: false
|
| 137 |
+
load_cube_in_memory: false
|
| 138 |
+
train_random_sample: null
|
| 139 |
+
mean_std_dict_prefix: cube
|
| 140 |
+
ckpt_path: lightning_logs1/version_5/checkpoints/last.ckpt
|
| 141 |
+
model:
|
| 142 |
+
class_path: seasfire.firecastnet_lit.FireCastNetLit
|
| 143 |
+
init_args:
|
| 144 |
+
icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_NHSA_6u.json.gz
|
| 145 |
+
sp_res: 0.25
|
| 146 |
+
max_lat: 89.875
|
| 147 |
+
min_lat: -89.875
|
| 148 |
+
max_lon: 179.875
|
| 149 |
+
min_lon: -179.875
|
| 150 |
+
lat_lon_static_data: true
|
| 151 |
+
embed_cube: true
|
| 152 |
+
embed_cube_width: 4
|
| 153 |
+
embed_cube_height: 4
|
| 154 |
+
embed_cube_time: 24
|
| 155 |
+
embed_cube_dim: 64
|
| 156 |
+
embed_cube_layer_norm: true
|
| 157 |
+
embed_cube_vit_enable: false
|
| 158 |
+
embed_cube_vit_patch_size: 36
|
| 159 |
+
embed_cube_vit_dim: 64
|
| 160 |
+
embed_cube_vit_depth: 1
|
| 161 |
+
embed_cube_vit_heads: 4
|
| 162 |
+
embed_cube_vit_mlp_dim: 64
|
| 163 |
+
embed_cube_ltae_enable: false
|
| 164 |
+
embed_cube_ltae_num_heads: 4
|
| 165 |
+
embed_cube_ltae_d_k: 16
|
| 166 |
+
embed_cube_sp_res: 1.0
|
| 167 |
+
embed_cube_max_lat: 89.5
|
| 168 |
+
embed_cube_min_lat: -89.5
|
| 169 |
+
embed_cube_max_lon: 179.5
|
| 170 |
+
embed_cube_min_lon: -179.5
|
| 171 |
+
timeseries_len: 24
|
| 172 |
+
input_dim_grid_nodes: 11
|
| 173 |
+
output_dim_grid_nodes: 16
|
| 174 |
+
input_dim_mesh_nodes: 3
|
| 175 |
+
input_dim_edges: 4
|
| 176 |
+
processor_layers: 12
|
| 177 |
+
hidden_layers: 1
|
| 178 |
+
hidden_dim: 64
|
| 179 |
+
aggregation: sum
|
| 180 |
+
norm_type: LayerNorm
|
| 181 |
+
do_concat_trick: false
|
| 182 |
+
regression_loss: mse
|
| 183 |
+
cube_path: /var/local/storage/michail/seasfire_cube_v3.zarr
|
| 184 |
+
gfed_region_enable_loss_weighting: true
|
| 185 |
+
gfed_region_var_name: gfed_region
|
| 186 |
+
gfed_region_weights:
|
| 187 |
+
OCEAN: 0.0
|
| 188 |
+
BONA: 0.0
|
| 189 |
+
TENA: 0.0
|
| 190 |
+
CEAM: 0.0
|
| 191 |
+
NHSA: 1.0
|
| 192 |
+
SHSA: 0.0
|
| 193 |
+
EURO: 0.0
|
| 194 |
+
MIDE: 0.0
|
| 195 |
+
NHAF: 0.0
|
| 196 |
+
SHAF: 0.0
|
| 197 |
+
BOAS: 0.0
|
| 198 |
+
CEAS: 0.0
|
| 199 |
+
SEAS: 0.0
|
| 200 |
+
EQAS: 0.0
|
| 201 |
+
AUST: 0.0
|
| 202 |
+
val_gfed_regions:
|
| 203 |
+
- NHSA
|
| 204 |
+
test_gfed_regions:
|
| 205 |
+
- NHSA
|
| 206 |
+
lsm_filter_enable: true
|
| 207 |
+
lsm_var_name: lsm
|
| 208 |
+
lsm_threshold: 0.1
|
| 209 |
+
lr: 0.001
|
| 210 |
+
weight_decay: 1.0e-08
|
| 211 |
+
max_epochs: 100
|
| 212 |
+
optimizer_apex: false
|
| 213 |
+
optimizer_fused: true
|
| 214 |
+
display_model_example: false
|
| 215 |
+
display_model_example_precision: null
|
lam_model_ckpts/firecastnet-cls-NHSA-ts24-h1.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11e7516cdb53645fb80ccb3444da9b7dc2c6dd6193caf22351b772f767c6b76d
|
| 3 |
+
size 114511306
|