Add small UNET model (#11)
Browse files- add small model (79ed6d5d3d6c9bdf39e8078168babd75c59b983e)
ECCC/configs/config_UNET_small.yaml
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
data:
|
| 2 |
+
type: eccc
|
| 3 |
+
data_training_index: ./granite-geospatial-wxc-downscaling/ECCC/indices/index_example.json
|
| 4 |
+
data_val_index: ./granite-geospatial-wxc-downscaling/ECCC/indices/index_example.json
|
| 5 |
+
data_test_index: ./granite-geospatial-wxc-downscaling/ECCC/indices/index_example.json
|
| 6 |
+
static_data_index: ./granite-geospatial-wxc-downscaling/ECCC/indices/staticDataIndex.json
|
| 7 |
+
input_surface_vars: [TT, UUWE, VVSN]
|
| 8 |
+
input_static_surface_vars: [ME, MG, Z0]
|
| 9 |
+
vertical_pres_vars: [GZ_pressure_levels, HU_pressure_levels, TT_pressure_levels,
|
| 10 |
+
UUWE_pressure_levels, VVSN_pressure_levels, WW_pressure_levels]
|
| 11 |
+
vertical_level1_vars: [GZ_model_levels, HU_model_levels, TT_model_levels, WW_model_levels]
|
| 12 |
+
vertical_level2_vars: [UUWE_model_levels, VVSN_model_levels]
|
| 13 |
+
other: [NT, P0, PC, PR, TM, H]
|
| 14 |
+
input_level_pres: [500.0, 700.0, 850.0, 925.0, 1000.0]
|
| 15 |
+
input_level1: [0.989269, 0.99501, 0.99875]
|
| 16 |
+
input_level2: [0.986026, 0.992524, 0.997502]
|
| 17 |
+
output_vars: [UUWE, VVSN]
|
| 18 |
+
n_input_timestamps: 1
|
| 19 |
+
input_size_lat: 32
|
| 20 |
+
input_size_lon: 32
|
| 21 |
+
apply_smoothen: false
|
| 22 |
+
downsample_factor: 8
|
| 23 |
+
n_random_windows: 16
|
| 24 |
+
crop_factor: 256
|
| 25 |
+
model:
|
| 26 |
+
input_mu: ./granite-geospatial-wxc-downscaling/ECCC/scalers/input_mu.pt
|
| 27 |
+
input_sigma: ./granite-geospatial-wxc-downscaling/ECCC/scalers/input_sigma.pt
|
| 28 |
+
input_static_mu: ./granite-geospatial-wxc-downscaling/ECCC/scalers/input_static_mu.pt
|
| 29 |
+
input_static_sigma: ./granite-geospatial-wxc-downscaling/ECCC/scalers/input_static_sigma.pt
|
| 30 |
+
target_mu: ./granite-geospatial-wxc-downscaling/ECCC/scalers/target_mu.pt
|
| 31 |
+
target_sigma: ./granite-geospatial-wxc-downscaling/ECCC/scalers/target_sigma.pt
|
| 32 |
+
target_static_mu: ./granite-geospatial-wxc-downscaling/ECCC/scalers/target_static_mu.pt
|
| 33 |
+
target_static_sigma: ./granite-geospatial-wxc-downscaling/ECCC/scalers/target_static_sigma.pt
|
| 34 |
+
embed_dim: 1024
|
| 35 |
+
n_blocks_encoder: 8
|
| 36 |
+
mlp_multiplier: 4
|
| 37 |
+
n_heads: 16
|
| 38 |
+
dropout_rate: 0.0
|
| 39 |
+
drop_path: 0.0
|
| 40 |
+
residual: none
|
| 41 |
+
num_static_channels: 7
|
| 42 |
+
downscaling_patch_size: [3, 3]
|
| 43 |
+
downscaling_embed_dim: 512
|
| 44 |
+
encoder_decoder_type: conv
|
| 45 |
+
encoder_decoder_upsampling_mode: pixel_shuffle
|
| 46 |
+
encoder_decoder_kernel_size_per_stage: [[]]
|
| 47 |
+
encoder_decoder_scale_per_stage: [[]]
|
| 48 |
+
encoder_decoder_conv_channels: 128
|
| 49 |
+
residual_connection: true
|
| 50 |
+
encoder_shift: false
|
| 51 |
+
unet: true
|
| 52 |
+
job_id: example
|
| 53 |
+
type_training: one_per_epoch
|
| 54 |
+
batch_size: 1
|
| 55 |
+
num_epochs: 10
|
| 56 |
+
dl_num_workers: 1
|
| 57 |
+
dl_prefetch_size: 1
|
| 58 |
+
learning_rate: 1.0e-05
|
| 59 |
+
limit_steps_train: 832
|
| 60 |
+
limit_steps_valid: 20
|
| 61 |
+
min_lr: 1.0e-06
|
| 62 |
+
max_lr: 5.0e-05
|
| 63 |
+
warm_up_steps: 0
|
| 64 |
+
mask_unit_size: [2, 2]
|
| 65 |
+
mask_ratio_inputs: 0.0
|
| 66 |
+
mask_ratio_targets: 0.0
|
| 67 |
+
max_batch_size: 16
|
| 68 |
+
path_experiment: ./granite-geospatial-wxc-downscaling/ECCC
|
| 69 |
+
path_model_weights: ./granite-geospatial-wxc-downscaling/ECCC/weights/best_rmse_UNET_small.pt
|
| 70 |
+
backbone_use: true
|
| 71 |
+
backbone_freeze: false
|
| 72 |
+
backbone_prefix: encoder.
|
| 73 |
+
finetune_w_static: true
|
| 74 |
+
strict_matching: false
|
ECCC/weights/best_rmse_UNET_small.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16fe7b3fa6b3724c0601d051b712be0345de5e53b4a4af6e08f7c5969f899fac
|
| 3 |
+
size 3056019514
|