Published July 27, 2023 | Version v1.0
Dataset Open

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

  • 1. Marda Science LLC

Description

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

Models have been created using Segmentation Gym* using the following datasets ** https://zenodo.org/record/7384263 and ***: https://doi.org/10.5281/zenodo.7335647. Those datasets have been combined and the training and validation images and labels are provided here.

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

Model validation accuracy statistics

model name: overall accuracy, mean frequency weighted IoU, mean IoU, Matthews correlation. Bold indicates best overall

    v2: 0.808, 0.7309,    0.47864, 0.656
    v3: 0.809, 0.7302, 0.4982, 0.664

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`

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

This is a sister model to these sets of Residual UNets:

    https://zenodo.org/record/7352850
    https://zenodo.org/record/7557080

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

** Buscombe, Daniel. (2022). Images and 2-class labels for semantic segmentation of Sentinel-2 and Landsat RGB, NIR, and SWIR satellite images of coasts (water, other) (v1.0) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.7384263

***Coast Train data release: Wernette, P.A., Buscombe, D.D., Favela, J., Fitzpatrick, S., and Goldstein E., 2022, Coast Train--Labeled imagery for training and evaluation of data-driven models for image segmentation: U.S. Geological Survey data release, https://doi.org/10.5066/P91NP87I. See https://coasttrain.github.io/CoastTrain/ for more information

***Buscombe, Daniel. (2023). June 2023 Supplement Images and 4-class labels for semantic segmentation of Sentinel-2 and Landsat RGB, NIR, and SWIR satellite images of coasts (water, whitewater, sediment, other) (v1.0) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.8011926 

Files

BEST_MODEL.txt

Files (30.8 MB)

Name Size Download all
md5:6540af85f1d806cdce9df4bf639132f5
46 Bytes Preview Download
md5:59bbbdf4568f1a768c7680f477d634ee
3.3 kB Preview Download
md5:b83af6d51bfa7771ecca985828f11ce1
2.8 kB Preview Download
md5:c1ec52c07eea2524b10d47d2d7e9c1c2
976 Bytes Preview Download
md5:7c6d100297d12cda894c833e87297251
15.1 MB Download
md5:f29308786e7a7888e147682e91db0541
1.1 kB Download
md5:a35894cffc718813054b2d5d3eb216b8
83.9 kB Preview Download
md5:1f68741130633c0cb8cc34d049b65022
24.7 kB Preview Download
md5:7a1e05b6a17b9658a09aeab75c476311
162.2 kB Preview Download
md5:0c0d548359ee1749d6b109db96d6ca9f
2.8 kB Preview Download
md5:f094fcc08892a1e60ef11366ba710d0c
976 Bytes Preview Download
md5:46898fb4e134ccdb6c1263eae30cb258
15.1 MB Download
md5:23aa370a021a9f0b885dadb24aadd17a
1.1 kB Download
md5:2ab693b7681381374e151e6820d52110
84.4 kB Preview Download
md5:0a01590b83e3bcd13ccb8da40143ee76
24.6 kB Preview Download
md5:a310bfc3c08b803f5dccdf341a8f2d65
143.5 kB Preview Download

Additional details