-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[debug] Remove hard-coded datetime and interpolation functions in dat…
…a generator (#22) * [improve] remove all datetime(2022, 10, 1); seperate data/model/inference config * [fix] standardization.json and warning in DataGenerator * [debug] correct Radar Reflectivity key and value * [feat] use Kth hour prediction to train the model * [feat] Add linear decay learning rate schedule * delete image_lat and image_lon in DataConfig * remove cached 202501 configs * inference onnx
- Loading branch information
Showing
38 changed files
with
377 additions
and
223 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"Geopotential Height@200 Hpa": { | ||
"mean": 12505.2807025529, | ||
"std": 31.23690801193252 | ||
}, | ||
"Geopotential Height@300 Hpa": { | ||
"mean": 9732.684060083873, | ||
"std": 23.59395278782757 | ||
}, | ||
"Geopotential Height@500 Hpa": { | ||
"mean": 5881.078627356256, | ||
"std": 21.227364772148206 | ||
}, | ||
"Geopotential Height@700 Hpa": { | ||
"mean": 3147.417053029739, | ||
"std": 22.679428052389323 | ||
}, | ||
"Geopotential Height@850 Hpa": { | ||
"mean": 1499.3848574888973, | ||
"std": 24.940354463433184 | ||
}, | ||
"Geopotential Height@925 Hpa": { | ||
"mean": 767.0191895649674, | ||
"std": 28.92858339148864 | ||
}, | ||
"Temperature@200 Hpa": { | ||
"mean": 222.47866570404634, | ||
"std": 1.1873095673931153 | ||
}, | ||
"Temperature@300 Hpa": { | ||
"mean": 244.69536708875444, | ||
"std": 1.3255060441101292 | ||
}, | ||
"Temperature@500 Hpa": { | ||
"mean": 269.15684662006595, | ||
"std": 0.9910247889826362 | ||
}, | ||
"Temperature@700 Hpa": { | ||
"mean": 284.26493983305636, | ||
"std": 1.2131348201022787 | ||
}, | ||
"Temperature@850 Hpa": { | ||
"mean": 292.08385257839444, | ||
"std": 2.465933917252086 | ||
}, | ||
"Temperature@925 Hpa": { | ||
"mean": 295.3969013762513, | ||
"std": 2.8345488795075937 | ||
}, | ||
"U-wind@200 Hpa": { | ||
"mean": -1.4728492556729618, | ||
"std": 10.455350215208668 | ||
}, | ||
"U-wind@300 Hpa": { | ||
"mean": 0.5694262664279642, | ||
"std": 8.352128746790838 | ||
}, | ||
"U-wind@500 Hpa": { | ||
"mean": 1.7419202405172896, | ||
"std": 6.741210946180685 | ||
}, | ||
"U-wind@700 Hpa": { | ||
"mean": 1.3884807588227728, | ||
"std": 5.97533398398843 | ||
}, | ||
"U-wind@850 Hpa": { | ||
"mean": -0.026072261389558333, | ||
"std": 6.141238748292276 | ||
}, | ||
"U-wind@925 Hpa": { | ||
"mean": -0.8825579715061802, | ||
"std": 6.335889760655964 | ||
}, | ||
"V-wind@200 Hpa": { | ||
"mean": -5.301883747876605, | ||
"std": 7.104234188182886 | ||
}, | ||
"V-wind@300 Hpa": { | ||
"mean": -1.873841695051257, | ||
"std": 5.12916839232868 | ||
}, | ||
"V-wind@500 Hpa": { | ||
"mean": 0.6418335554148797, | ||
"std": 4.328289945964971 | ||
}, | ||
"V-wind@700 Hpa": { | ||
"mean": 1.6541866714064417, | ||
"std": 4.679441343010596 | ||
}, | ||
"V-wind@850 Hpa": { | ||
"mean": 1.6800889374926513, | ||
"std": 5.321468450675873 | ||
}, | ||
"V-wind@925 Hpa": { | ||
"mean": 1.3371695255277345, | ||
"std": 6.41552949382295 | ||
}, | ||
"Radar Reflectivity@NoRule": { | ||
"mean": 2.6260936703541637, | ||
"std": 7.044576417439349 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
infer_type: "ckpt" | ||
best_ckpt: "./checkpoints/Pangu_241222_034119-epoch=026-val_loss_epoch=0.1527.ckpt" | ||
best_ckpt: "./checkpoints/Pangu_241229_120914-epoch=162-val_loss_epoch=0.1453.ckpt" | ||
is_bdy_swap: True | ||
output_itv: | ||
hours: 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
infer_type: "onnx" | ||
onnx_path: "./export/Pangu_model_241222.onnx" | ||
onnx_path: "./export/Pangu_model_241229.onnx" | ||
is_bdy_swap: True | ||
output_itv: | ||
hours: 3 | ||
hours: 1 | ||
gpu_id: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
model_name: Pangu | ||
# patch embedding | ||
patch_size: [1, 2, 2] | ||
smoothing_kernel_size: 5 | ||
segmented_smooth_boundary_width: null | ||
# earth layer | ||
depths: [2, 6] | ||
# earth block | ||
max_drop_path_ratio: 0.2 | ||
# earth attn 3d | ||
heads: [6, 12] | ||
embed_dim: 192 | ||
dropout_rate: 0 | ||
window_size: [3, 4, 4] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
figure_columns: 5 | ||
figure_columns: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.