DOI: 10.5281/zenodo.8172907
title: Doodleverse/Segmentation Gym SegFormer models for 2-class (other, sediment) segmentation of RGB aerial orthomosaic imagery

description: <strong>Doodleverse/Segmentation Gym SegFormer models for 2-class (other, sediment) segmentation of RGB aerial orthomosaic imagery</strong> 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 alluvial river corridors and associated labels. Models are designed to identify water, wood, sediment, and other in orthomosaic imagery. Models have been created using Segmentation Gym* using a dataset of images published here: <em>Ritchie, A.C., Curran, C.A., Magirl, C.S., Bountry, J.A., Hilldale, R.C., Randle, T.J., and Duda, J.J., 2018, Data in support of 5-year sediment budget and morphodynamic analysis of Elwha River following dam removals: U.S. Geological Survey data release, https://doi.org/10.5066/F7PG1QWC.</em> Classes: {0=other, 1=sediment}. See https://github.com/Doodleverse for more information about how this model was trained, and how to use it for inference File descriptions 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<br> 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