Published May 10, 2023 | Version v1.0

Doodleverse/Segmentation Gym Res-UNet models for 2-class (water, other) segmentation of CoastCam runup timestack imagery

Authors/Creators

  • 1. Marda Science LLC

Description

Doodleverse/Segmentation Gym Res-UNet models for 2-class (water, other) segmentation of CoastCam runup timestack imagery

This model release is part of the Doodleverse: https://github.com/Doodleverse

These Residual-UNet model data are based on RGB (red, green, and blue) images of coasts and associated labels.

Models have been created using Segmentation Gym* using an as-yet unpublished dataset of images and associated label images. See https://github.com/Doodleverse for more information about how this model was trained, and how to use it for inference

Classes: {0=other, 1=water}

File descriptions

There are two models; v7 has been trained from scratch, and v8 has been fine-tuned using hyperparameter adjustment. 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, 

1. BEST_MODEL.txt contains the name of the model with the best validation loss and mean IoU
2. sample_images.zip contains a few example input files, for model testing


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
 

Files

BEST_MODEL.txt

Files (59.0 MB)

Name Size
md5:c61e6b4611feffc19c7f992b8b77d903
45 Bytes Preview Download
md5:8095f24e487d448e5b6592a2fd39db47
2.7 kB Preview Download
md5:0dcca9317c60848a0496a7cdd9c5220d
913 Bytes Preview Download
md5:e6d5e88987401bb703e5aeab4d1a25ca
22.1 MB Download
md5:e473117154061df9f245e77ac6ef06aa
6.9 MB Preview Download
md5:5dc57f74c351d5a38f97ddc88b80c313
2.1 kB Download
md5:3e04ffedf72bf23de06e9e68f4907f42
23.0 kB Preview Download
md5:4c19c26d05341957366e0d07b2b73cdf
19.7 kB Preview Download
md5:8b534e1b70bc243962f42b250de52c61
1.5 kB Preview Download
md5:48022459f837e0e8a35a9c94e470b872
163.5 kB Preview Download
md5:eb10b402f41d8451065924e5fdf01f01
1.0 kB Preview Download
md5:0851e6dadf9d19ff73fb5531e60f1683
22.1 MB Download
md5:8d578c9109297598216cebbeb752c987
6.9 MB Preview Download
md5:32005263ba0a4c6594d4b729ec619b14
1.7 kB Download
md5:e81cc4c79780f0118bd92b5136270024
23.0 kB Preview Download
md5:6fd306694172bc7d0c4dd1c6af8f9e19
37.8 kB Preview Download
md5:cb7bddbeebedc3261011b4a8c480f4df
1.6 kB Preview Download
md5:48dda49ba5ccec703da9d921328e1b1e
209.4 kB Preview Download
md5:745f132d4dd28bc146784cb2b2b8ce5f
566.7 kB Preview Download