The Coralscapes Dataset: Semantic Scene Understanding in Coral Reefs
Creators
- 1. Environmental Computational Science and Earth Observation Laboratory, École Polytechnique Fédérale de Lausanne
- 2. Laboratory for Biological Geochemistry, École Polytechnique Fédérale de Lausanne
-
3.
Centre for Ecology and Conservation, University of Exeter
- 4. School of the Environment, The University of Queensland
- 5. Center for Advanced Surface Analysis, University of Lausanne
Description
The Coralscapes dataset is the first general-purpose dense semantic segmentation dataset for coral reefs. Similar in scope and with the same structure as the widely used Cityscapes dataset for urban scene understanding, Coralscapes allows for the benchmarking of semantic segmentation models in a new challenging domain. The Coralscapes dataset spans 2075 images at 1024×2048px resolution gathered from 35 dive sites in 5 countries in the Red Sea, labeled in a consistent and speculation-free manner containing 174k polygons over 39 benthic classes.
This repository provides a collection of scripts and instructions for working with the Coralscapes dataset. It includes the full codebase necessary for training and evaluating models on this dataset, allowing to reproduce the results in the paper. Additionally, it contains scripts and step-by-step guidance on how to use the trained models for inference and how to fine-tune the models to external datasets.
Dataset Structure
The dataset structure of the Coralscapes dataset follows the structure of the Cityscapes dataset:
{root}/{type}/{split}/{site}/{site}_{seq:0>6}_{frame:0>6}_{type}{ext}
The meaning of the individual elements is:
rootthe root folder of the Coralscapes dataset.typethe type/modality of data,gtFinefor fine ground truth,leftImg8bitfor left 8-bit images,leftImg8bit_1080p (gtFine_1080p)for the images (ground truth) in 1080p resolution,leftImg8bit_videoframesfor the 19 preceding and 10 trailing video frames.splitthe split, i.e. train/val/test. Note that not all kinds of data exist for all splits. Thus, do not be surprised to occasionally find empty folders.siteID of the site in which this part of the dataset was recorded.seqthe sequence number using 6 digits.framethe frame number using 6 digits.ext.png
File Structure
The files provided in the Zenodo repository are the following:
coralscapes.7zcontains the Coralscapes dataset which includes the 2075 images and corresponding ground truth semantic segmentation masks at 1024x2048px resolution.coralscapes_1080p.7zcontains the Coralscapes images and masks in their native 1080x1920px resolution.model_checkpoints.7zcontains the checkpoints of the semantic segmentation models that have been fine-tuned on the Coralscapes dataset. This includes the following models: SegFormer (with a B2 and B5 backbone, trained with and without LoRA), DPT (with a DINOv2-Base and DINOv2-Giant backbone, trained with and without LoRA), a Linear segmentation model with a DINOv2-Base backbone, a UNet++ with a ResNet50 backbone and DeepLabV3+ with a ResNet50 backbone.coralscapes_videoframes.7zcontains the the 19 preceding and 10 trailing video frames of each image in the Coralscapes dataset.
Files
Files
(197.2 GB)
| Name | Size | Download all |
|---|---|---|
|
md5:a60007fc9943403d22a74506daf81c49
|
5.7 GB | Download |
|
md5:8607001f9c34a9164e4f5432621ab4ea
|
5.3 GB | Download |
|
md5:6fdba507309acfe7588674335ad68368
|
163.2 GB | Download |
|
md5:27c9311b37a69fb99ac791f0d7a9827a
|
22.9 GB | Download |