You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the `dataset/annotations/` folder are the annotations required for exporting the COCO files.
53
+
54
+
#### NetCDF4 files
55
+
56
+
In the `dataset/netcdf/` folder you should place the netCDF4 files.
57
+
58
+
#### COCO files
21
59
22
-
* Configuration file `utils/settings/config.py`.
23
-
* Custom Taxonomy Mapping at `utils/settings/mappings/mappings_{cat, fr}.py`.
60
+
In the `coco_files/` folder are the COCO files required for training, validating and testing the models. Some proof-of-concept COCO files are also given (with the refix `poc_`) just for testing and playing around.
61
+
62
+
#### OAD files
63
+
64
+
In the `dataset/oad/` folder you should place the exported files containing the OAD statistics.
65
+
66
+
#### Configuration
67
+
68
+
* The main configuration file is `utils/settings/config.py`.
69
+
* Custom Taxonomy Mapping is located at `utils/settings/mappings/mappings_{cat, fr}.py`.
24
70
25
71
Every script inherits settings from the aforementioned files.
26
72
@@ -34,22 +80,9 @@ Every script inherits settings from the aforementioned files.
34
80
-`oad_experiments.py`: The main script for training/testing the OAD models.
35
81
-`visualize_predictions.py`: Produces a visualization of the ground truth and the prediction of a given model for a given image.
1. Run `export_medians_multi.py` to precompute the medians needed for training, validation and testing.
54
87
2. Run `pad_experiments.py` with the appropriate arguments. Example:
55
88
```
@@ -58,10 +91,42 @@ For PAD:
58
91
The above command is for training the **ConvLSTM** model using the **weighted parcel loss** described in the associated publication. Training will continue for **10 epochs** with **batch size 32**, using the Sentinel-2 **bands Blue (B02), Green (B03), Red (B04) and NIR (B08)**. The **input image size is 61x61**, the **precomputed medians are used** to speed up training and all input data are **normalized**. The **window length is 12**, including all months. Please use the `--help` argument to find information on all available parameters.
59
92
3. Optionally, run `visualize_predictions.py` to visualize the image, ground truth and prediction for a specific model and image.
60
93
61
-
For OAD:
94
+
**For OAD:**
62
95
1. Run `object-based-csv.py` to export the statistics needed for OAD.
63
96
2. Run `oad_experiments.py` with the appropriate arguments. Example:
The above command is for training the **Transformer** model. Training will continue for **10 epochs** with **batch size 32**, using given **file containing the OAD statistics**. The **hidden size is 1024** and **three layers** are used for the model. Please use the `--help` argument to find information on all available parameters.
101
+
102
+
### Reported results
103
+
104
+
The results reported on the given COCO files are presented in the following tables.
105
+
106
+
#### PAD
107
+
108
+
Scenario | Model | Acc. W. (%) | F1 W. (%) | Precision W. (%)
109
+
--|---|---|---|--
110
+
1 | U-Net | 93.70 | 82.61 | 86.64
111
+
1 | ConvLSTM | **94.72** | **85.18** | **86.86**
112
+
1 | ConvSTAR | 92.78 | 80.38 | 83.33
113
+
2 | U-Net | **83.12** | **57.85** | **61.57**
114
+
2 | ConvLSTM | 82.53 | 56.56 | 60.57
115
+
2 | ConvSTAR | 79.52 | 52.15 | 58.98
116
+
3 | U-Net | **72.11** | **43.54** | **68.42**
117
+
3 | ConvLSTM | 69.86 | 40.47 | 66.17
118
+
3 | ConvSTAR | 69.07 | 34.45 | 67.43
119
+
120
+
#### OAD
121
+
122
+
Scenario | Model | Acc. W. (%) | F1 W. (%) | Precision W. (%)
0 commit comments