Published November 16, 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 NDWI 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 NDWI images of coasts. 'Global' version.

These Segformer model data are based on NDWI 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:

v2: .91, .87, .49, 0.78

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 (76.9 MB)

Name Size Download all
md5:4719182e9db367e496c6c993875ff370
48 Bytes Preview Download
md5:657fce20cfc1e65ce98c68223195d38e
1.5 kB Preview Download
md5:a6ae3b5550d32e563560957b764cc98e
1.0 kB Preview Download
md5:5297053d39feaeb0be4eb6871d557a77
15.1 MB Download
md5:8b19cd5a2695234773562f45cad37755
842 Bytes Download
md5:5fccdf6c912dfe3aa000ff5dc642e0b4
54.4 kB Preview Download
md5:27979ec121f165219e4f584a2c75860c
47.7 kB Preview Download
md5:24bf6a63ab46a4ce6c126080aed9dfeb
17.0 kB Preview Download
md5:cf259c2a9c0aabdca0a5ad46373bbe22
17.1 kB Preview Download
md5:4b240ecffc20b333cebb8182ddeba30e
102.6 kB Preview Download
md5:560f24054da99c01ff84cd153427adea
1.5 kB Preview Download
md5:3b557519ebbb5f57be4e06adb84f8a77
1.0 kB Preview Download
md5:60d12f8772a370254424d19325b9a93a
15.1 MB Download
md5:1a5cd8e9af1cef46a3990b653c1263bf
956 Bytes Download
md5:6b017fbd1910c615d71aa648c5029689
55.5 kB Preview Download
md5:50f6a34e100c13c35dbd49d58b8ff99c
53.5 kB Preview Download
md5:972a498d9eadd4065dd80d5107d7ed25
17.0 kB Preview Download
md5:70d23b121ebeb95669b3c80bd9270a74
17.1 kB Preview Download
md5:9a07e408916e44123f0785d64e72bd34
102.0 kB Preview Download
md5:49b20f34162491016246e491cd72b9de
1.5 kB Preview Download
md5:cfb18acb86976643b3b40086fd5f19f6
1.0 kB Preview Download
md5:61ab876d9f19da2564140fc8c404c256
15.1 MB Download
md5:11ea7d54eff58d8a9ff8f2bc9a7a7590
938 Bytes Download
md5:a5084a45d0b8354b4523346909499f28
55.4 kB Preview Download
md5:98b05f1814e49adc804e6e64b8313ce1
52.3 kB Preview Download
md5:0355c658fc710836b2bad2ecb12271f6
17.0 kB Preview Download
md5:0b401f9b5aef3ab13a58ab48fe1acd5e
17.1 kB Preview Download
md5:397361ee5aa249ff71718b1fb9c253b4
105.6 kB Preview Download
md5:5c96b7155547a0f7434d0d0167e19afb
1.5 kB Preview Download
md5:85e0478028e1cf3773b9d72a29033424
1.0 kB Preview Download
md5:57d19647175a385ca5c784bc7fa5cc32
15.1 MB Download
md5:ae87078b539ffb6a408559185c283f49
792 Bytes Download
md5:ae748c3354a25d37a8490f5169e47066
55.4 kB Preview Download
md5:1255cab50df770758ea981572e5de084
49.4 kB Preview Download
md5:f38c1771ba36ba40a83942f8304f776f
17.0 kB Preview Download
md5:77a840257ab9df8f8a2b62fe01269bd7
17.1 kB Preview Download
md5:7d41cbb32e74d68b8eeb4f93a9739d98
101.2 kB Preview Download
md5:6671968c4c52d8681d054371c063e25d
1.5 kB Preview Download
md5:b8f9cde5261249a5e88a4be2d520bdac
1.0 kB Preview Download
md5:62fea8dd8cb56e41659f9b6ba31b649d
15.1 MB Download
md5:2185de3d3513117ee65f222244918bc4
917 Bytes Download
md5:e34f07933a2fc0a8b16684469662c2ac
54.9 kB Preview Download
md5:9ee57d5fd8752bf0c23ddfa838ceac92
47.7 kB Preview Download
md5:effb3f73b9758a05ac3749cb25968295
17.0 kB Preview Download
md5:6ca60b5017a63dae0e6b17ec3c2d544c
17.2 kB Preview Download
md5:fc514185b91dc7f87808b3c97cc778ec
102.8 kB Preview Download
md5:a7743519a1561b643a2840ca9fc8686b
3.6 kB Preview Download

Additional details

Related works

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

References