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. '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 visible-band (RGB) images of coasts. 'Global' version.

These Segformer model data are based on RGB (red, green, and blue) images of coasts and associated labels. This is the 'All sites' / 'Global' 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 (v2) are shown below:

v2: .94, .90, .60, 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.

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 

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

Name Size Download all
md5:0dd80af872b7cb40431268f920885d5d
47 Bytes Preview Download
md5:6981baa07628dda93b4053856d1db6da
1.6 kB Preview Download
md5:dac104130606864d04c74b7a4341177d
15.1 MB Download
md5:4c4454c9faf9b2ebc6f9275f2e709081
1.0 kB Preview Download
md5:b02d04afd2465114947aa1f455d4f121
15.1 MB Download
md5:46ae39abfa29c15e1a1df0b770411ae0
886 Bytes Download
md5:478a027e37e6c7585342bc025c6d457c
55.6 kB Preview Download
md5:a36ea6ba01256d12d72a8b1e8032f670
52.7 kB Preview Download
md5:252cac28d5828f2c13b07d5d6d35fd67
17.0 kB Preview Download
md5:00ce9a7ebdc6554f5a5212d3535372af
17.1 kB Preview Download
md5:09da4cebf81ab2ffe6f794474ed0d5b9
133.0 kB Preview Download
md5:78f34b4fbd14f4283e4f04c29880500e
1.6 kB Preview Download
md5:3e9ee335425947a1bf66b2aeabda74ce
15.1 MB Download
md5:624d0a99e37b38aa491118f2aa69c202
1.0 kB Preview Download
md5:697ca471cf11064adfa3859aeac26a0f
15.1 MB Download
md5:bb890e74284c24e4e41afdbfa3916abb
1.3 kB Download
md5:f1442b749a7a8a9296268e96209b4c8d
55.1 kB Preview Download
md5:02d936801a31dca7051bb83443f9b133
54.0 kB Preview Download
md5:c28ac0dd606a7294982cd079fff6f6cf
17.0 kB Preview Download
md5:964a82bbc7f473683c0b45c3f4e55de4
17.1 kB Preview Download
md5:2f775fead60d2db04a15eae559b4c896
115.3 kB Preview Download
md5:c4d42e9afa6ed2cf675655bc6f59df3c
1.6 kB Preview Download
md5:d59086e80f3f8b9b0a52e8c394edf522
15.1 MB Download
md5:40593aba598736c306a1c57e272f0ae8
1.0 kB Preview Download
md5:60b9ce9c311cd3c2409f670b9a92adeb
15.1 MB Download
md5:7547e84609eba007e619552af728840d
1.1 kB Download
md5:86f4a80b0ded9f39bc6dcb3d23f1808f
55.5 kB Preview Download
md5:680ec05b6e7f1c5ec675dd8310d7e712
53.5 kB Preview Download
md5:01fcf8f90bbed6107928543a5ee4eb05
17.0 kB Preview Download
md5:1ce25767b72a9059d4a8de6ffd301d46
17.1 kB Preview Download
md5:acfb186deeaa43a6c20e9d0bf3faec3b
117.3 kB Preview Download
md5:01481ed11c22dadc69b36d0aec6980b9
1.6 kB Preview Download
md5:d8fea34db908f9924a8dbaac7a479e3a
15.1 MB Download
md5:bfd6c854877aee1d3b947d6592ea8533
1.0 kB Preview Download
md5:157e874f9babccc1e13b8322a4e07b9e
15.1 MB Download
md5:9d0d1698a6a4c45fce5f3b801bc0ec47
886 Bytes Download
md5:ac154600fa7842492b9701ede9674791
55.6 kB Preview Download
md5:e601922119167b9e5f3d9dd57f1e1648
54.7 kB Preview Download
md5:bf36ba95e30085b2f4654dff61fc47e6
17.0 kB Preview Download
md5:b639c6fb63820131f8d41f3345694fde
17.0 kB Preview Download
md5:acf35e2a3015eaf6e58de297267cae17
118.5 kB Preview Download
md5:7f9a4d419075e62b754f57ed261bdf3d
3.6 kB Preview Download

Additional details

Related works

Obsoletes
Model: https://zenodo.org/records/8190958 (Other)
Model: https://doi.org/10.5281/zenodo.6950472 (Other)

Software