Published November 19, 2024 | Version v1.0
Model Open

Doodleverse/CoastSeg Segformer models for 4-class (water, whitewater, sediment and other) segmentation of PlanetScope, Sentinel-2 and Landsat-5/7/8/9 MNDWI images of coasts. 'Global' version.

  • 1. Marda Science LLC

Description

Doodleverse/CoastSeg Segformer models for 4-class (water, whitewater, sediment and other) segmentation of PlanetScope, Sentinel-2 and Landsat-5/7/8/9 MNDWI images of coasts. 'Global' version.

These Segformer model data are based on MNDWI images of coasts and associated labels.

Models have been created using Segmentation Gym*

Classes: {0=water, 1=whitewater, 2=sediment, 3=other}

Model validation accuracy statistics

The overall accuracy, mean frequency weighted IoU, mean IoU, Matthews correlation for the best model (v2) are shown below:

v5: .82, .73, .41, 0.66

Per sample and per-class validation statistics are provided in the csv files associated with this release

(full error analysis will be presented in a forthcoming paper)

File descriptions

For each model, there are 5 files with the same root name:

1. '.json' config file: this is the file that was used by Segmentation Gym* to create the weights file. It contains instructions for how to make the model and the data it used, as well as instructions for how to use the model for prediction. It is a handy wee thing and mastering it means mastering the entire Doodleverse.

2. '.h5' weights file: this is the file that was created by the Segmentation Gym* function `train_model.py`. It contains the trained model's parameter weights. It can called by the Segmentation Gym* function  `seg_images_in_folder.py`. Models may be ensembled.

3. '_modelcard.json' model card file: this is a json file containing fields that collectively describe the model origins, training choices, and dataset that the model is based upon. There is some redundancy between this file and the `config` file (described above) that contains the instructions for the model training and implementation. The model card file is not used by the program but is important metadata so it is important to keep with the other files that collectively make the model and is such is considered part of the model

4. '_model_history.npz' model training history file: this numpy archive file contains numpy arrays describing the training and validation losses and metrics. It is created by the Segmentation Gym function `train_model.py`

5. '.png' model training loss and mean IoU plot: this png file contains plots of training and validation losses and mean IoU scores during model training. A subset of data inside the .npz file. It is created by the Segmentation Gym function `train_model.py`

6. '.csv' model training and validation statistics per validation and training sample, and per class. F1 score, Precision, Recall, mean IoU, Overall Accuracy, frequency weighted IoU, and Matthews Correlation Coefficient metrics are provided.

Additionally, BEST_MODEL.txt contains the name of the model with the best validation loss and mean IoU

This is an UPGRADES and improves upon https://zenodo.org/records/8213427

See https://satelliteshorelines.github.io/CoastSeg/models/ and Fitzpatrick et al., (2024)** for more information about how these models are used

References

*Segmentation Gym: Buscombe, D., & Goldstein, E. B. (2022). A reproducible and reusable pipeline for segmentation of geoscientific imagery. Earth and Space Science, 9, e2022EA002332. https://doi.org/10.1029/2022EA002332 See: https://github.com/Doodleverse/segmentation_gym

** Fitzpatrick et al., (2024). CoastSeg: an accessible and extendable hub for satellite-derived-shoreline (SDS) detection and mapping. Journal of Open Source Software, 9(99), 6683, https://doi.org/10.21105/joss.06683

Files

BEST_MODEL.txt

Files (77.1 MB)

Name Size Download all
md5:b2ee0fa9638a27be270c1ee352118f50
49 Bytes Preview Download
md5:edd2021cb9a1e854d862ec7edaa466cc
1.5 kB Preview Download
md5:a6ae3b5550d32e563560957b764cc98e
1.0 kB Preview Download
md5:bbbf56904d89f541f41ed25c6fcd2748
15.1 MB Download
md5:d13f44b9e01efa99274d29502d4d6563
898 Bytes Download
md5:5bfea25ce3022ecb07507bb88e0abbef
51.7 kB Preview Download
md5:90e69aa0ccff8b2e4b4c6cc07ffa4a94
51.6 kB Preview Download
md5:b4a4618503548d8926dddbfdd9d60ef5
17.5 kB Preview Download
md5:963ca11faebbd1d23ae66d5318fc94c6
17.3 kB Preview Download
md5:8a0e3fed582adc210a0dcc81bcb4b7e7
147.7 kB Preview Download
md5:1ac39c22115fe3f4b72974e4b232ac47
1.5 kB Preview Download
md5:3b557519ebbb5f57be4e06adb84f8a77
1.0 kB Preview Download
md5:c7269bf2e8893f0f50f85396057a7099
15.1 MB Download
md5:81bbc4fa7478c1d26373e500f5ecaa6f
1.0 kB Download
md5:1d188c81443d2545bdc6e6cffde77c7f
55.7 kB Preview Download
md5:a4e6332bbdd1ec6a3b63aed5589494dc
52.5 kB Preview Download
md5:4b47997f67e9177ad013b503de610aef
17.0 kB Preview Download
md5:06429f3b73f2475a0132a7185e8032d1
17.2 kB Preview Download
md5:d7bbf6bfa3abe90f95fef7ae84bb953b
151.4 kB Preview Download
md5:a918725262b1d0c1f04c2a7dd6afd9c5
1.5 kB Preview Download
md5:cfb18acb86976643b3b40086fd5f19f6
1.0 kB Preview Download
md5:74c9479a3d0a63ebdafe3307eac43ea4
15.1 MB Download
md5:f10d3799000e1ff2617e9b7346e92d73
1.1 kB Download
md5:b1cc687d48e7bf41cbcbc16508a0850a
55.3 kB Preview Download
md5:2c5b9878c307952d1187a0c30ee1b682
55.0 kB Preview Download
md5:f225f1121e6c436814e0106a98603a97
17.0 kB Preview Download
md5:a89d852db3818d4d2b8e100bb9c59ee8
17.3 kB Preview Download
md5:fbfcc22154ffac4de85149d84b52b454
155.7 kB Preview Download
md5:cd2e7e51ff52ae5e4bd5aab9d39bfc0e
1.5 kB Preview Download
md5:85e0478028e1cf3773b9d72a29033424
1.0 kB Preview Download
md5:85671be13d39457e83257a301d7c9bef
15.1 MB Download
md5:65d3acb9d433a5c81125a4849edd2c8d
803 Bytes Download
md5:4baf229f0f7de641780ea4d98be50a5f
48.7 kB Preview Download
md5:69a97dada78c3d72ae75d0536430fc47
48.0 kB Preview Download
md5:c154e3c457e93f5116e59d1f96b16dff
17.5 kB Preview Download
md5:b2621d29db57e57e3e7941dde0099033
17.3 kB Preview Download
md5:c55ef7d8b672cdb5c4c0020b98cd0a2c
139.1 kB Preview Download
md5:1111b7b1eeaa911405204843c093dad7
1.5 kB Preview Download
md5:b8f9cde5261249a5e88a4be2d520bdac
1.0 kB Preview Download
md5:a5afb502fb3536c3930adac2faa788bb
15.1 MB Download
md5:f33223c417c5d747bdcd77e67cc78da7
929 Bytes Download
md5:fe77ee069ed84c1fd03fcb97a7c71351
56.6 kB Preview Download
md5:26aae88082ea7360d983c49d3c3bfa38
56.1 kB Preview Download
md5:8ee3884e097dbd8e5e043c795c363ce8
17.3 kB Preview Download
md5:f9c9cad3bf2095ddd4d2c028252126e3
17.1 kB Preview Download
md5:7faed8b940000814d4353f58ca29a5e7
149.6 kB Preview Download
md5:a89e086bbe1e6e9b97f30b5b5beb4960
3.6 kB Preview Download

Additional details

Related works

Obsoletes
Model: https://zenodo.org/records/8213443 (Other)

Software

References