Published June 12, 2023 | Version v1.0

Doodleverse/Segmentation Gym SegFormer models for 2-class (wood, other) segmentation of RGB aerial orthomosaic imagery

Authors/Creators

  • 1. Marda Science LLC

Description

Doodleverse/Segmentation Gym SegFormer models for 2-class (wood, other) segmentation of RGB aerial orthomosaic 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 alluvial river corridors and associated labels. Models are designed to identify subaerial accumulations of large woody debris in orthomosaic imagery. Models have been created using Segmentation Gym* using a dataset of images published here:

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.

Classes: {0=other, 1=large woody debris / driftwood}. 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
2. sample_images.zip contains a few example input files, for model testing

3. example_validation_outputs.zip contain 50 example validation outputs, consisting of images of ground truth (right) and model output (left). This provides a visually interpretable product to assess model accuracy

 

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

**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.

Files

BEST_MODEL.txt

Files (82.1 MB)

Name Size
md5:e8c90cbe0808605aec38d4e5966901bd
42 Bytes Preview Download
md5:9957c85fefbfc669e7141193fd5090de
1.2 kB Preview Download
md5:6d66b20e2d517a7db0861e75171f0c52
101.5 kB Preview Download
md5:9ad5a683c42516fe23848b17862fce12
1.2 kB Preview Download
md5:2a5392620cbdffb19e1a60fe91a95d6f
15.1 MB Download
md5:32fb307b083c2333c61a027d17d53d6e
889 Bytes Download
md5:75605b9f1bd04e42a6eff6c9db829768
16.5 kB Preview Download
md5:f005a6c73558df24479653df1625057c
84.8 kB Preview Download
md5:0dab65908a8fa29e7a75b740044e92e7
1.8 kB Preview Download
md5:f895faa9f4b15558f8d6a72528cd089e
1.2 kB Preview Download
md5:c348343fa49ec5e03253eb2bb3a39669
15.1 MB Download
md5:914bc49452fc699b4d71badb9fa3baf3
1.2 kB Download
md5:336db8a3d8fb621b021b05082e6880d3
16.5 kB Preview Download
md5:ea432cead27ddaa36075d18901ae860e
1.8 kB Preview Download
md5:eaa64454589176dcdeda6016d8bbf8d4
82.9 kB Preview Download
md5:9957c85fefbfc669e7141193fd5090de
1.2 kB Preview Download
md5:0fdd9c743f3ddfd9b199506fd6c24a08
15.1 MB Download
md5:9713d0f18ff7cc2c3778faaa910d9483
1.1 kB Download
md5:10b30e1979a9f788eca8d6be16ebd6e6
16.5 kB Preview Download
md5:009e632131ae74f5c8e440359c7b85b4
1.8 kB Preview Download
md5:92efa66c4b6d9e881ab5759be76d7961
7.5 MB Preview Download
md5:8a9511e2897bffece3c4b644ca228aff
3.1 kB Preview Download
md5:03f7b1447576a40edd1a55e49b897695
28.9 MB Preview Download