Published November 18, 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. '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 NDWI images of coasts. 'Alaska-only' version.

These Segformer model data are based on NDWI images of coasts and associated labels, from Alaska-only.

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:

v5: .93, .89, .53, 0.86

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

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

Files (76.9 MB)

Name Size Download all
md5:3eb02497c099eb6548cbb847c64c5ff9
1.5 kB Preview Download
md5:7e4eb473adea638c86118334fa8ec91b
1.0 kB Preview Download
md5:c53a2dae20d511e300d865052337442c
15.1 MB Download
md5:ec4023204bd41e4beddc456a4ebab681
993 Bytes Download
md5:0c4eec206e7a73da3e0c14f0502a0d25
43.1 kB Preview Download
md5:7616d155bae461689382b1b00ab7563b
44.5 kB Preview Download
md5:220efc8c5b266cee932e90248b94ae28
17.0 kB Preview Download
md5:d40910a9aaf7d24a561384f5e7f14b9a
17.1 kB Preview Download
md5:732e516f86c821c0c35de9d003665b4d
110.2 kB Preview Download
md5:076078e556e1ee35148515c218054583
1.5 kB Preview Download
md5:35df941a41b9cb6a0eca7a9421f47355
1.0 kB Preview Download
md5:c294851be6f794326600915b234bffb8
15.1 MB Download
md5:2b6957d8eff24e2d1f91642d7669be33
1.0 kB Download
md5:69bca9b01afd7eae05a85f233345f756
42.7 kB Preview Download
md5:e91007833ddbd60f562b67680603927f
43.3 kB Preview Download
md5:1bc7ca68ef1aa420c4dd674819f61421
16.9 kB Preview Download
md5:5e36dfa5bb1a733dd552aa3b9fb465f0
17.1 kB Preview Download
md5:9ad65b7d3b83c82bc87a28f7912a0494
121.0 kB Preview Download
md5:674c377a6508520b152d19115eeba958
1.5 kB Preview Download
md5:02f16483124d17988e98e9012a323a60
1.0 kB Preview Download
md5:5a8c0e569a2fd9edf3e37ee4ca145d2b
15.1 MB Download
md5:6c0ba93002d35b3ab3b0d5b0110368db
1.0 kB Download
md5:b7b7839609d4666f01889fa21a4ff5d6
42.9 kB Preview Download
md5:55d4c3fded3568384f40da2077dd79cf
43.1 kB Preview Download
md5:02c18e0732657bfd385a1a3d3dd5a92e
16.9 kB Preview Download
md5:f9dbbca9ec4c948c94a1c9ec497c16b6
17.1 kB Preview Download
md5:4b950c738aff53ba1ba092f633d8cbbf
118.9 kB Preview Download
md5:cb61ce5d07067dca1e86c6fef067ec71
1.5 kB Preview Download
md5:d4054b4dedeeae164db97f00fa1deec4
1.0 kB Preview Download
md5:fa54918cad2ce0a57bb8a332aa2bae79
15.1 MB Download
md5:ae28518313575dab69b42dc77cd5abb7
976 Bytes Download
md5:ab956c42b3adce41af998f3f6485c55a
42.3 kB Preview Download
md5:8f9d2b36b81991fff97804adf93d5869
43.7 kB Preview Download
md5:bed78be43ff10279d601985af4b23933
16.9 kB Preview Download
md5:11dda8ffd2fabbe9778bb87875afaf8f
17.1 kB Preview Download
md5:ccbc55b6055c80791fb1f479d19b4279
117.6 kB Preview Download
md5:0ba2e99c35fe0947d7e3d2295934424d
1.5 kB Preview Download
md5:949631cb904b0e118fcda91f6901ebb8
1.0 kB Preview Download
md5:c398a1139e470e9868152e9dedaa9962
15.1 MB Download
md5:e567c2ee8e7cae0051e9b83ff069af8c
1.0 kB Download
md5:2e99941e66e13c5f59fb345c41dd6d53
42.5 kB Preview Download
md5:82560eb78b4ae14f2c092d66dd1367d0
43.8 kB Preview Download
md5:2eaee3edd921759e5b1b57619e94606e
17.0 kB Preview Download
md5:83ac4f3fef876dfd56d2f4e418a81f50
17.0 kB Preview Download
md5:89bf5b818163f5d5d46413286698a9a3
121.4 kB Preview Download
md5:ccdc3f5f7130413812c457eaa0cf2e92
44 Bytes Preview Download
md5:cfb7be0a8d66b5fda789f717c0de78d8
3.6 kB Preview Download

Additional details

Related works

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

Software

References