Published November 20, 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. 'Alaska-only' 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. 'Alaska-only' 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:

v2: .88, .84, .45, 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 complementary to https://zenodo.org/records/14183366

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

AK_4class_mndwi_512_v2_modelcard.json

Files (61.5 MB)

Name Size Download all
md5:f4913a3edce9d8ffca85632db87f63ea
1.5 kB Preview Download
md5:35df941a41b9cb6a0eca7a9421f47355
1.0 kB Preview Download
md5:81497b4468fdb7a4297685b020322005
15.1 MB Download
md5:6d001f877594a8e26f99e089c8d58d97
902 Bytes Download
md5:2cbcce477df8db453c171d9cb5e4a812
40.0 kB Preview Download
md5:4b378d43ba0c86c4550022bf3b27222f
41.1 kB Preview Download
md5:b4c377526bfc0c45e01257a26c4fd097
17.1 kB Preview Download
md5:e934df964eeb96813fcaf546e32d2426
17.1 kB Preview Download
md5:c3f2776f6f39da5986156a4155b603ca
126.9 kB Preview Download
md5:f41ee1ee22424c8dfee9c1acb4d883a6
1.5 kB Preview Download
md5:02f16483124d17988e98e9012a323a60
1.0 kB Preview Download
md5:305cd6406db518472c0a5e660d992ea6
15.1 MB Download
md5:d18f9997a88edd2d846ec8e0268ed8d0
984 Bytes Download
md5:732d68463b6c5a7c543ff2994e0020ea
40.3 kB Preview Download
md5:fe5cc3745328ecc6c246789456a54ece
42.7 kB Preview Download
md5:7b223f405768f5f02315943da20d37da
17.0 kB Preview Download
md5:d61f29b8fb7af69be96dd2ce491572fc
17.1 kB Preview Download
md5:ac2360a621bb5b5c250ba035b5c12b1b
131.9 kB Preview Download
md5:ba1e4e5f50083006133d3e37e9b2d22c
1.5 kB Preview Download
md5:05960871f3c4395f760931bb0888d37b
1.0 kB Preview Download
md5:24da3d0c2f9beb3e59e9961eeb363df9
15.1 MB Download
md5:cb0acdd7a748a1733beaa8fd9f1c2075
979 Bytes Download
md5:b4326d157a4ee0e554db291d446f7810
42.1 kB Preview Download
md5:31df9a2acc35d008f22ce40c2f5bd873
43.4 kB Preview Download
md5:31738808106fa77a48ee2c45be54502f
17.0 kB Preview Download
md5:f4f3e2d7428af5bf86690b678387ace9
17.1 kB Preview Download
md5:8748c84e33bd9f307d1c3712e887d776
123.5 kB Preview Download
md5:38dc4b0b48595933e11fa1983000f26f
1.5 kB Preview Download
md5:c5b29ff89a6a1982c9565cc955a3e5d7
1.0 kB Preview Download
md5:fd8d0e632ba7fd1edaacf23530b81ad9
15.1 MB Download
md5:77c003862ee31b709ddd8bb758eec138
1.2 kB Download
md5:045ca70578441d8868b34f8fbba6e591
37.2 kB Preview Download
md5:5f2924bca3e910a8e20beac5756cf7e7
38.5 kB Preview Download
md5:7156bc5b36d0dea1fe75e65e78d11370
17.1 kB Preview Download
md5:92c74634483c1736aa46df4606517044
17.2 kB Preview Download
md5:d4df25382908cf3bcf230497e8351175
133.6 kB Preview Download
md5:8d25e54c82fd427f9edc07c47b82a3bf
45 Bytes Preview Download
md5:b56ec243c36404a85fb97995be2b5058
3.5 kB Preview Download

Additional details

Related works

Is variant form of
Model: https://zenodo.org/records/14183366 (Other)

Software

References