Published November 4, 2024 | Version v2
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 visible-band (RGB) 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 visible-band (RGB) images of coasts. 'Alaska-only' version.

These Segformer model data are based on RGB (red, green, and blue) images of coasts and associated labels. This is the 'Alaska' / AK model that segments using RGB (visible bands) satellite imagery.

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 (v4) are shown below:

v4: .93, .88, .55, 0.85

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.

 

Other details

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/8190958 

This is COMPLEMENTARY to https://zenodo.org/records/14026613

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_rgb_512_v1_modelcard.json

Files (122.1 MB)

Name Size Download all
md5:03611dfc5aed05c9c2186df7619aa414
1.6 kB Preview Download
md5:7082cdd010d5b6c0c7bafe2cf6841791
15.1 MB Download
md5:0b66d3359be39c24f4607d4304e3a709
1.0 kB Preview Download
md5:6bc48bdbf3ccc020a021af36ea55e7c0
15.1 MB Download
md5:2687d4a44ba385d10f6524f22b8ce133
842 Bytes Download
md5:95e8930b77e1810c3a0bcacc2cd9dfd9
42.9 kB Preview Download
md5:893ec9ff833585e558a631c2686522cd
47.7 kB Preview Download
md5:8b09f5271b79110a45b3d51295cec86c
16.9 kB Preview Download
md5:2a184c1f06d39732fcf355746b597a8b
17.1 kB Preview Download
md5:fbef4c1080b5ea50e0591040883f8f63
114.3 kB Preview Download
md5:9e839e8bbd36682d5f7308cbc950d277
1.6 kB Preview Download
md5:9c3f239429398e57f57b91b34a01f0d6
15.1 MB Download
md5:bea4484d401d077c142f129a220360b4
1.0 kB Preview Download
md5:7afbaa10b6776badc10d8cb07c2c7b0e
15.1 MB Download
md5:be2d176aaf4da000a48c102a77aa3eeb
1.1 kB Download
md5:bd9ea82b314c3928d3352138dc1f7f89
42.9 kB Preview Download
md5:78b5a43949fea250a1019c43c0187419
46.8 kB Preview Download
md5:c6e8485b1ca06d6c2a130478779c6a6f
17.0 kB Preview Download
md5:eb7bc38bedfaa99f67bf9a2f40a07fb3
17.1 kB Preview Download
md5:54c51857f645f0243c43c8a7ba338c07
113.4 kB Preview Download
md5:b06f98f96f057a1b11fd0a4f7ce6d9e8
1.6 kB Preview Download
md5:aa06c1e7ff0386e138600a084ba6e971
15.1 MB Download
md5:f2de9e4f55f6fcc48ebd1ee01cdd0df9
1.0 kB Preview Download
md5:7709ccd9fede37e4591b2425c59937a6
15.1 MB Download
md5:9e3dcb626bb4a3f73d2b70f0daa5017c
1.2 kB Download
md5:693c400471cb6e09bfe2b47ee1ff1b32
42.0 kB Preview Download
md5:734a0c49480ed3fb9afc63576f51d9e6
46.2 kB Preview Download
md5:26f70649fffabf659630991a038936e8
16.9 kB Preview Download
md5:35059ccfc0d7fdefd6014373e825e706
17.1 kB Preview Download
md5:4ebf8a4d01b981e1ec4516c59e625aba
116.7 kB Preview Download
md5:d378e5538f0910c8377a7b8664c19eca
1.6 kB Preview Download
md5:16a8e6f9c310b7246fd3bc9653cb6860
15.1 MB Download
md5:ffa5e8020908a4efa1ec87dd8baace41
1.0 kB Preview Download
md5:58cae24bfb4d720d32a35c7392dd389c
15.1 MB Download
md5:91748d86505c2b23b0a9392a009233cd
1.2 kB Download
md5:96f637f416ac46a61317b922ad3f3737
41.5 kB Preview Download
md5:2a1624433a30144e3887f3ceec2b0e39
47.9 kB Preview Download
md5:0d9ee1f5d17200a35b1f64d446150b09
16.9 kB Preview Download
md5:7b0a32eea6abdce1faee2088ba207b86
17.1 kB Preview Download
md5:ac2d5ff8c78366a8b7562a7b517cf34b
118.9 kB Preview Download
md5:6b2697922f9e3939affc9838aa739603
43 Bytes Preview Download
md5:d7650f697ff6138e58bcb578f50cea24
3.8 kB Preview Download

Additional details

Related works

Is variant form of
Model: https://zenodo.org/records/14026613 (Other)
Obsoletes
Model: https://zenodo.org/records/8190958 (Other)
Model: https://doi.org/10.5281/zenodo.6950472 (Other)

Software