Update model configuration
Browse files- config.json +13 -89
config.json
CHANGED
|
@@ -1,91 +1,15 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
"paths": {
|
| 16 |
-
"data_dir": "/public/share/sugonhpcapp01/onestore/onedatasets/RPB_CNO/data",
|
| 17 |
-
"train_file": "NavierStokes_64x64_IN.h5",
|
| 18 |
-
"id_test_file": "NavierStokes_64x64_IN.h5",
|
| 19 |
-
"ood_test_file": "NavierStokes_128x128_OUT.h5",
|
| 20 |
-
"checkpoint": "weight/best_model.pth",
|
| 21 |
-
"results_dir": "results"
|
| 22 |
-
},
|
| 23 |
-
"data": {
|
| 24 |
-
"input_key": "input",
|
| 25 |
-
"output_key": "output",
|
| 26 |
-
"train": {
|
| 27 |
-
"start": 0,
|
| 28 |
-
"stop": 750
|
| 29 |
-
},
|
| 30 |
-
"validation": {
|
| 31 |
-
"start": 768,
|
| 32 |
-
"stop": 896
|
| 33 |
-
},
|
| 34 |
-
"test_id": {
|
| 35 |
-
"start": 896,
|
| 36 |
-
"stop": 1024
|
| 37 |
-
},
|
| 38 |
-
"test_ood": {
|
| 39 |
-
"start": 0,
|
| 40 |
-
"stop": 128
|
| 41 |
-
}
|
| 42 |
-
},
|
| 43 |
-
"normalization": {
|
| 44 |
-
"source": "supplied_64x64_id_benchmark",
|
| 45 |
-
"input_min": -1.4294605255126953,
|
| 46 |
-
"input_max": 1.4294605255126953,
|
| 47 |
-
"output_min": -2.0383081436157227,
|
| 48 |
-
"output_max": 2.0602376461029053,
|
| 49 |
-
"epsilon": 1e-12
|
| 50 |
-
},
|
| 51 |
-
"model": {
|
| 52 |
-
"in_channels": 1,
|
| 53 |
-
"out_channels": 1,
|
| 54 |
-
"base_width": 32,
|
| 55 |
-
"levels": 3,
|
| 56 |
-
"bottleneck_residual_blocks": 8,
|
| 57 |
-
"intermediate_residual_blocks": 1,
|
| 58 |
-
"kernel_size": 3,
|
| 59 |
-
"latent_channels": 64,
|
| 60 |
-
"activation_upsampling_factor": 2,
|
| 61 |
-
"filter_taps": 12,
|
| 62 |
-
"filter_half_width": 0.8,
|
| 63 |
-
"cutoff_denominator": 2.0001,
|
| 64 |
-
"leaky_relu_slope": 0.2
|
| 65 |
-
},
|
| 66 |
-
"training": {
|
| 67 |
-
"epochs": 1000,
|
| 68 |
-
"batch_size": 32,
|
| 69 |
-
"num_workers": 4,
|
| 70 |
-
"optimizer": "Adam",
|
| 71 |
-
"learning_rate": 0.001,
|
| 72 |
-
"weight_decay": 1e-10,
|
| 73 |
-
"scheduler": "StepLR",
|
| 74 |
-
"scheduler_step_size": 1,
|
| 75 |
-
"scheduler_gamma": 0.98,
|
| 76 |
-
"early_stopping_patience": 50,
|
| 77 |
-
"log_interval": 5,
|
| 78 |
-
"device": "auto"
|
| 79 |
-
},
|
| 80 |
-
"inference": {
|
| 81 |
-
"batch_size": 16,
|
| 82 |
-
"num_workers": 2,
|
| 83 |
-
"device": "auto",
|
| 84 |
-
"metric_epsilon": 1e-12
|
| 85 |
-
},
|
| 86 |
-
"paper_reference": {
|
| 87 |
-
"metric": "relative_median_l1_percent",
|
| 88 |
-
"id": 2.76,
|
| 89 |
-
"ood": 7.04
|
| 90 |
-
}
|
| 91 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"in_channels": 1,
|
| 3 |
+
"out_channels": 1,
|
| 4 |
+
"base_width": 32,
|
| 5 |
+
"levels": 3,
|
| 6 |
+
"bottleneck_residual_blocks": 8,
|
| 7 |
+
"intermediate_residual_blocks": 1,
|
| 8 |
+
"kernel_size": 3,
|
| 9 |
+
"latent_channels": 64,
|
| 10 |
+
"activation_upsampling_factor": 2,
|
| 11 |
+
"filter_taps": 12,
|
| 12 |
+
"filter_half_width": 0.8,
|
| 13 |
+
"cutoff_denominator": 2.0001,
|
| 14 |
+
"leaky_relu_slope": 0.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
}
|