Published February 14, 2023 | Version v1.0
Dataset Open

Doodleverse/Segmentation Zoo/Seg2Map SegFormer models for CoastTrain/5-class segmentation of RGB 768x768 NAIP images

  • 1. Marda Science LLC

Description

Doodleverse/Segmentation Zoo/Seg2Map SegFormer models for CoastTrain/5-class segmentation of RGB 768x768 NAIP images

These Segformer model data are based on Coast Train images and associated labels. https://coasttrain.github.io/CoastTrain/docs/Version%201:%20March%202022/data

Models have been created using Segmentation Gym* using the following dataset**: https://doi.org/10.1038/s41597-023-01929-2

Image size used by model: 768 x 768 x 3 pixels

classes:

water
whitewater
sediment
other_bare_natural_terrain
other
 

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

 

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, D., Wernette, P., Fitzpatrick, S. et al. A 1.2 Billion Pixel Human-Labeled Dataset for Data-Driven Classification of Coastal Environments. Sci Data 10, 46 (2023). https://doi.org/10.1038/s41597-023-01929-2

 

Files

BEST_MODEL.txt

Files (45.7 MB)

Name Size Download all
md5:f861c71173ae243734dd65ede26b1c02
44 Bytes Preview Download
md5:ed8c18a7c30f7d9dd7b781b83da13450
52 Bytes Preview Download
md5:6d0af83c06da838a9413d47797927f73
1.1 kB Preview Download
md5:0e75733f340dd63df9430d1303a52221
15.1 MB Download
md5:dd93953290b5e36c2f8dd073f3f15cc1
1.1 kB Download
md5:0861056af56aecc29e3c7af88e2c5bed
2.1 kB Preview Download
md5:7f455e1d69e7508649ec2905a905a2d9
108.6 kB Preview Download
md5:06024b927b56dcc72abeb5fd7913c82e
1.1 kB Preview Download
md5:895dcb8f482f5965bef8396bd32ad03a
15.1 MB Download
md5:ff1bf9c9e5b62b6e355e1170ebc59809
1.5 kB Download
md5:4bcef9b3219d3d3ec3115cdcb2331817
2.1 kB Preview Download
md5:8e59540d5a27b2dea145f26eee43bead
102.6 kB Preview Download
md5:5c5ae773d51f633f1b3c4c7467a11620
1.1 kB Preview Download
md5:85dcbb396b47fcd4903d4bad2a0efb43
15.1 MB Download
md5:3c3e61d5637533fd81b396fabbde0735
1.5 kB Download
md5:dc6cddd0075e9bb7ea4aa169e974008d
2.1 kB Preview Download
md5:d5c491a36c6a6857b251f8daffcd8be7
90.7 kB Preview Download
md5:355cb084fa2318fb17434cd55baf4220
2.8 kB Preview Download