docs: dataset card, preview images and cross-links
Browse filesFiles changed (5)
123456789101128 unmodified lines404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131---pretty_name: ReefSupport marine-data hackathon v1 (marine-data)license: otherlicense_name: per-sourcetags:- marine- coral-reef- underwaterconfigs:- config_name: coral-masksdata_files:28 unmodified lines- split: testpath: data/fish-boxes/test-*.parquet---# reefsupport/marine-data (hackathon release v1)Open configs of the ReefSupport marine-data hackathon release v1. Licences differ per source; every row repeats its `licence` and `attribution` columns, and the per-source tables below are authoritative.Per-config cards, LICENSE, NOTICE and CHECKSUMS.sha256 are in `docs/<config>/` (verbatim copies of the release files); the sections below embed the per-config cards unchanged apart from heading levels (the bucket-specific "Files in this prefix" line is dropped).## marine-data-hackathon v1 / coral-masksCoral reef benthic semantic segmentation: image + uint8 index mask (255 = ignore) + class_map, one row per image.Hackathon release v1 (2026-10-06 build). Splits: upstream where the source has them, else a deterministic 80/10/10 hash of split_group (no near-duplicate pass was run for this release).Mask encoding: semantic masks are uint8 index PNGs, 255 = ignore; instance masks are uint16 id PNGs, 0 = background. Every row repeats its licence and attribution.### Columnsimage_sha256, image, mask, class_map, source, licence, annotation_licence, attribution, split, split_group, annotator_type, width, height, lat, lon### Sources and licences| source | rows | splits | licence | attribution ||---|---|---|---|---|| coralscapes | 2075 (expected 2075) | test 392, train 1517, validation 166 | Apache-2.0 | Coralscapes (Apache-2.0) || reef-support-benthic-own | 1226 (expected 1250) | test 167, train 930, validation 129 | CC-BY-4.0 | Reef Support (own imagery and annotations) || reef-support-seaview-labels | 2696 (expected 2707) | test 284, train 2138, validation 274 | CC-BY-3.0-AU (images); CC-BY-4.0 (masks, Reef Support) | Images: González-Rivero et al., XL Catlin Seaview Survey, UQ eSpace UQ_734799 (CC-BY-3.0-AU). Masks: Reef Support annotations (CC-BY-4.0). |### Provenance notes- reef-support-seaview-labels: images come from the XL Catlin Seaview Survey (CC-BY-3.0-AU, attribution above); the masks are Reef Support annotations (CC-BY-4.0). Masks were decoded from the stitched RGB Labelbox renders with the fixed 5-colour palette (Hard Coral = 1, Soft Coral = 2, 0 = unlabelled/ignore).- reef-support-benthic-own: Reef Support own imagery and annotations (CC-BY-4.0), source version 2026-09-24. split_group for seaview rows = site partition + first 5 characters of the image id (provisional).### Load```pythonfrom datasets import load_datasetds = load_dataset('parquet', data_files={'train': 'data/coral-masks/train-*.parquet', 'validation': 'data/coral-masks/validation-*.parquet', 'test': 'data/coral-masks/test-*.parquet'})```## marine-data-hackathon v1 / scene-masksUnderwater scene semantic segmentation (SUIM, 8 classes incl. plants/seagrass, fish, reef): image + uint8 index mask + class_map.Hackathon release v1 (2026-10-06 build). Splits: upstream where the source has them, else a deterministic 80/10/10 hash of split_group (no near-duplicate pass was run for this release).Mask encoding: semantic masks are uint8 index PNGs, 255 = ignore; instance masks are uint16 id PNGs, 0 = background. Every row repeats its licence and attribution.### Columnsimage_sha256, image, mask, class_map, source, licence, annotation_licence, attribution, split, split_group, annotator_type, width, height, lat, lon### Sources and licences| source | rows | splits | licence | attribution ||---|---|---|---|---|| suim | 1598 (expected 1598) | test 254, train 1181, validation 163 | MIT | SUIM (Semantic Segmentation of Underwater Imagery) (MIT) |### Load```pythonfrom datasets import load_datasetds = load_dataset('parquet', data_files={'train': 'data/scene-masks/train-*.parquet', 'validation': 'data/scene-masks/validation-*.parquet', 'test': 'data/scene-masks/test-*.parquet'})```## marine-data-hackathon v1 / instance-masksUnderwater instance segmentation (UIIS, UIIS10K, USIS10K): image + uint16 instance-id mask (0 = background) + instances.Hackathon release v1 (2026-10-06 build). Splits: upstream where the source has them, else a deterministic 80/10/10 hash of split_group (no near-duplicate pass was run for this release).Mask encoding: semantic masks are uint8 index PNGs, 255 = ignore; instance masks are uint16 id PNGs, 0 = background. Every row repeats its licence and attribution.### Columnsimage_sha256, image, mask, instances, source, licence, annotation_licence, attribution, split, split_group, annotator_type, width, height, lat, lon### Sources and licences| source | rows | splits | licence | attribution ||---|---|---|---|---|| uiis | 4622 (expected 4628) | train 3932, validation 690 | Apache-2.0 | UIIS (WaterMask) underwater instance segmentation (Apache-2.0) || uiis10k | 10042 (expected 10048) | test 2007, train 8035 | Apache-2.0 | UIIS10K underwater instance segmentation (UWSAM) (Apache-2.0) || usis10k | 10632 (expected 10632) | test 1596, train 7442, validation 1594 | Apache-2.0 | USIS10K underwater salient instance segmentation (Apache-2.0) |### Load```pythonfrom datasets import load_datasetds = load_dataset('parquet', data_files={'train': 'data/instance-masks/train-*.parquet', 'validation': 'data/instance-masks/validation-*.parquet', 'test': 'data/instance-masks/test-*.parquet'})```## marine-data-hackathon v1 / fish-boxesFish and fauna photos with bounding boxes (x_min..y_max in 0-1, native label). 25912 images; splits {'test': 3472, 'train': 18967, 'validation': 3473} (upstream splits kept where present, else split_group hash; dedup gate from the release builder was run). Each row repeats its licence and attribution.### Licence and attribution per source| source_id | licence | attribution | images ||---|---|---|---|| roboflow-aquarium | CC-BY-4.0 | Roboflow Aquarium Combined (CC-BY-4.0) | 637 || uiis | Apache-2.0 | UIIS (WaterMask) underwater instance segmentation (Apache-2.0) | 4622 || uiis10k | Apache-2.0 | UIIS10K underwater instance segmentation (UWSAM) (Apache-2.0) | 10042 || usis10k | Apache-2.0 | USIS10K underwater salient instance segmentation (Apache-2.0) | 10611 |1234567891011121314151617181920212223242526272828 unmodified lines57585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362---pretty_name: ReefSupport Marine Data - Hackathon v1 (open)license: otherlicense_name: per-sourcelanguage:- entask_categories:- image-segmentation- object-detectiontags:- marine- coral-reef- underwater- biology- ecology- conservation- coral- benthic- fish- semantic-segmentation- instance-segmentation- object-detection- reef-supportsize_categories:- 10K<n<100Kconfigs:- config_name: coral-masksdata_files:28 unmodified lines- split: testpath: data/fish-boxes/test-*.parquet---<p align="center"><a href="https://reef.support"><img src="https://cdn.reef.support/assets/brand/reef-support/reef-support-logo-text-color.png" alt="Reef Support" width="40%"></a></p># 🌊 ReefSupport Marine Data: hackathon release v1**Licence-tracked underwater imagery with masks and boxes for coral-reef computer vision.**<p align="center"><a href="https://github.com/reefsupport/marine-data"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-reefsupport%2Fmarine--data-181717?logo=github"></a><a href="https://reef.support"><img alt="reef.support" src="https://img.shields.io/badge/reef.support-0B6E99"></a><a href="https://huggingface.co/reefsupport"><img alt="Hugging Face org" src="https://img.shields.io/badge/Hugging%20Face-reefsupport-FFD21E?logo=huggingface&logoColor=black"></a><a href="https://huggingface.co/datasets/reefsupport/marine-data-nc"><img alt="Companion repo" src="https://img.shields.io/badge/companion-marine--data--nc-lightgrey"></a><img alt="Licence: per source" src="https://img.shields.io/badge/licence-per%20source%20(open)-blue"><img alt="Images" src="https://img.shields.io/badge/images-58%2C803-2ea44f"></p>Four ready-to-train configs built from open sources and Reef Support's own reef surveys. Every row carries its own`licence` and `attribution`, so provenance travels with the pixels. Built from the[marine-data](https://github.com/reefsupport/marine-data) registry, which tracks the licence of every source before it is allowed into a release.> **Licences differ per source.** Everything in this repo is under an open licence (Apache-2.0, MIT, CC-BY-4.0 or> CC-BY-3.0-AU), and each requires attribution. Reproduce the `attribution` column when you share or publish results,> and see [Sources and licences](#sources-and-licences). This is a statement of the licences we recorded, not legal advice.>> Data with restricted terms (non-commercial, or no licence stated) is **not** here. It lives in the companion repo> [`reefsupport/marine-data-nc`](https://huggingface.co/datasets/reefsupport/marine-data-nc).## At a glance| | ||---|---|| Configs | 4: `coral-masks`, `scene-masks`, `instance-masks`, `fish-boxes` || Images | 58,803 (train 44,142 / validation 6,489 / test 8,172) || Tasks | semantic segmentation, instance segmentation, object detection || Format | Parquet shards (up to about 0.5 GB each), images and masks embedded, streamable || Size | 15.5 GB || Sources | 8: Coralscapes, SUIM, UIIS, UIIS10K, USIS10K, Roboflow Aquarium, Seaview labels, Reef Support benthic || Release | hackathon v1, built 2026-10-06 || Code | [github.com/reefsupport/marine-data](https://github.com/reefsupport/marine-data) |## Quick start```pythonfrom datasets import load_dataset# One config at a time; each has train / validation / test.ds = load_dataset("reefsupport/marine-data", "coral-masks")row = ds["train"][0]row["image"], row["mask"] # PIL imagesrow["attribution"], row["licence"] # keep these when you redistribute# Large configs: stream instead of downloading everything.stream = load_dataset("reefsupport/marine-data", "fish-boxes", split="train", streaming=True)row = next(iter(stream))row["boxes"][0] # {"x_min": .., "y_min": .., "x_max": .., "y_max": .., "label": "fish"}```Decode a mask and look up class names (semantic masks are `uint8` index PNGs, `255` = ignore):```pythonimport numpy as npmask = np.array(row["mask"]) # (H, W) class idsnames = {c["id"]: c["label_native"] for c in row["class_map"]} # per-image id -> the source's own label```Select one source inside a config: `ds["train"].filter(lambda r: r["source"] == "coralscapes")`.## Configs| config | task | train | validation | test | total | GB ||---|---|---|---|---|---|---|| [`coral-masks`](#coral-masks) | Benthic semantic segmentation | 4,585 | 569 | 843 | 5,997 | 12.6 || [`scene-masks`](#scene-masks) | Underwater scene semantic segmentation | 1,181 | 163 | 254 | 1,598 | 0.2 || [`instance-masks`](#instance-masks) | Underwater instance segmentation | 19,409 | 2,284 | 3,603 | 25,296 | 1.4 || [`fish-boxes`](#fish-boxes) | Object detection (fish and fauna boxes) | 18,967 | 3,473 | 3,472 | 25,912 | 1.4 |Splits are the upstream splits where the source provides them, else a deterministic 80/10/10 hash of `split_group`.### coral-masksBenthic semantic segmentation of coral reef imagery: `image` + `uint8` index `mask` (`255` = ignore) + per-image`class_map`. 5,997 images from three sources with different label vocabularies; native labels are kept and mapped toa shared taxon node (`taxon_node`) and coarse group (`coarse`) where a mapping exists.| source | rows | train / val / test | licence ||---|---|---|---|| `coralscapes` | 2,075 | 1,517 / 166 / 392 | Apache-2.0 || `reef-support-benthic-own` | 1,226 | 930 / 129 / 167 | CC-BY-4.0 || `reef-support-seaview-labels` | 2,696 | 2,138 / 274 / 284 | images CC-BY-3.0-AU, masks CC-BY-4.0 |### scene-masksUnderwater scene segmentation from SUIM (8 classes incl. plants and seagrass, fish, reef, wrecks, divers):1,598 images, 640x480, `uint8` index masks. Source: `suim`, MIT.### instance-masksUnderwater instance segmentation: `image` + `uint16` instance-id `mask` (`0` = background) + `instances`, a list with thelabel and a normalised box for every instance id. 25,296 images.| source | rows | train / val / test | licence ||---|---|---|---|| `uiis` | 4,622 | 3,932 / 690 / 0 | Apache-2.0 || `uiis10k` | 10,042 | 8,035 / 0 / 2,007 | Apache-2.0 || `usis10k` | 10,632 | 7,442 / 1,594 / 1,596 | Apache-2.0 |### fish-boxesFish and fauna photos with bounding boxes (`x_min, y_min, x_max, y_max` normalised to 0-1, native `label`). 25,912images, 640x480, about 2.7 boxes per image. Labels are the upstream vocabularies (for example `fish`, `corals`, `reefs`,`jellyfish`, `human divers`). The build ran a dedup gate: 0 images span splits, 0 upstream-test images in train.| source | images | licence ||---|---|---|| `uiis10k` | 10,042 | Apache-2.0 || `usis10k` | 10,611 | Apache-2.0 || `uiis` | 4,622 | Apache-2.0 || `roboflow-aquarium` | 637 | CC-BY-4.0 |## Data fields`coral-masks`, `scene-masks`, `instance-masks`:| field | type | description ||---|---|---|| `image_sha256` | string | SHA-256 of the image bytes. Stable id and join key. || `image` | Image | RGB photo. || `mask` | Image (PNG) | Semantic: `uint8` class id, `255` = ignore. Instance: `uint16` instance id, `0` = background. || `class_map` | list of struct | `coral-masks`, `scene-masks`. Per image: `id` (value in the mask), `label_native`, `taxon_node`, `coarse` (may be null). || `instances` | list of struct | `instance-masks` only. `id`, `label_native`, `taxon_node`, `coarse`, `bbox_xyxy_norm` [x_min, y_min, x_max, y_max] in 0-1. || `source` | string | Source id, see the table below. || `licence` | string | Licence of the row's data under its source. || `annotation_licence` | string | Licence of the annotations. || `attribution` | string | Text to reproduce when you use or share the row. || `split`, `split_group` | string | Split, and the group that is never divided across splits. || `annotator_type` | string | `human` for every config in this repo. || `width`, `height`, `lat`, `lon` | int, float | Pixel size; WGS84 degrees (null unless the source provides them). |`fish-boxes` (note the US spelling `license` in this config):| field | type | description ||---|---|---|| `image_sha256`, `image` | string, Image | As above. || `source_id` | string | Source id. || `license`, `licence_class`, `attribution` | string | Licence, its class (`open` for every row here) and the attribution text. || `boxes` | list of struct | `x_min`, `y_min`, `x_max`, `y_max` (0-1 of width/height), `label`. || `points` | list | Point annotations; empty in this release. || `split`, `split_group` | string | Split and non-splittable group. || `upstream_id`, `upstream_url`, `lat`, `lon`, `depth_m`, `meow_realm`, `habitat` | mixed | Optional context; null unless the source provides it. || `width`, `height` | int | Pixel size. |## Sources and licences| source | configs | licence | attribution / upstream ||---|---|---|---|| `coralscapes` | coral-masks | Apache-2.0 | Sauder et al. 2025, [Coralscapes](https://josauder.github.io/coralscapes/) || `reef-support-benthic-own` | coral-masks | CC-BY-4.0 | Reef Support (own imagery and annotations) || `reef-support-seaview-labels` | coral-masks | images CC-BY-3.0-AU; masks CC-BY-4.0 (Reef Support) | Images: Gonzalez-Rivero et al., XL Catlin Seaview Survey, UQ eSpace UQ_734799 ([doi:10.14264/UQL.2019.930](https://doi.org/10.14264/UQL.2019.930)). Masks: Reef Support annotations || `suim` | scene-masks | MIT | Islam et al. 2020, SUIM (Semantic Segmentation of Underwater Imagery) || `uiis` | instance-masks, fish-boxes | Apache-2.0 | Lian et al., WaterMask, ICCV 2023 ([UIIS](https://huggingface.co/datasets/LiamLian0727/UIIS)) || `uiis10k` | instance-masks, fish-boxes | Apache-2.0 | Li et al. 2025, UWSAM ([UIIS10K](https://huggingface.co/datasets/LiamLian0727/UIIS10K)) || `usis10k` | instance-masks, fish-boxes | Apache-2.0 | Lian et al., ICML 2024 ([USIS10K](https://huggingface.co/datasets/LiamLian0727/USIS10K)) || `roboflow-aquarium` | fish-boxes | CC-BY-4.0 | Roboflow, Aquarium Combined |The per-row `licence` and `attribution` columns are authoritative. The per-config release files are kept verbatim in`docs/<config>/` (`README.md`, `LICENSE`, `NOTICE`, `CHECKSUMS.sha256`).## How it was built1. **Source to bucket.** Each source is fetched, its licence checked against the registry, and staged in an objectstore under a per-config prefix.2. **Bucket to Parquet.** The release builder writes sharded Parquet (images and masks embedded) with per-row licenceand attribution, class maps, and splits. Each prefix ends with a `CHECKSUMS.sha256` written last.3. **Upload.** Every file is checked (size and sha256 against `CHECKSUMS.sha256`) before and after upload, and rowcounts are compared with the build. Then the card is written.Verify a local snapshot: `grep ' data/' docs/<config>/CHECKSUMS.sha256 | sha256sum -c -` (macOS: `shasum -a 256 -c`).The code is in the [GitHub repo](https://github.com/reefsupport/marine-data) (`src/marinedata`, release builder in `hf_export.py`).## Limitations and known issues- **Dropped rows.** 35 `coral-masks` images were dropped because no class map could be built (`reef-support-benthic-own`24 of 1,250, `reef-support-seaview-labels` 11 of 2,707). 12 `instance-masks` rows were dropped (`uiis` 6 of 4,628,`uiis10k` 6 of 10,048).- **Splits are not independently audited.** The mask configs were not near-duplicate checked, so near-identical framescan fall on both sides of a split. `fish-boxes` ran a dedup gate. Seaview `split_group` (site partition plus the first5 characters of the image id) is provisional.- **One image, several configs.** `instance-masks` and `fish-boxes` are built from the same UIIS, UIIS10K and USIS10Kimages and are split per config. Join on `image_sha256` before evaluating across configs.- **Seaview masks are decoded from rendered colours.** They come from stitched RGB Labelbox renders with a fixed5-colour palette (Hard Coral = 1, Soft Coral = 2, `0` = unlabelled).- **Vocabularies differ per source.** `label_native` is the source's own label. The shared `taxon_node` and `coarse`mappings are partial and `coarse` is often null.- **People and context.** Some images show divers or aquarium visitors (`fish-boxes` has `human` and `human divers`labels). Location fields are null unless the source provides them.## Citation```bibtex@misc{reefsupport_marine_data_hackathon_v1,title = {ReefSupport Marine Data: Hackathon Release v1},author = {{Reef Support B.V.}},year = {2026},howpublished = {\url{https://huggingface.co/datasets/reefsupport/marine-data}},note = {Hackathon release v1, built 2026-10-06. Licence is mixed per source; see the dataset card.}}```Please also cite the sources you use.<details><summary>BibTeX for the upstream sources</summary>```bibtex@misc{sauder2025coralscapes,title = {The Coralscapes Dataset: Semantic Scene Understanding in Coral Reefs},author = {Sauder, Jonathan and Domazetoski, Viktor and Banc-Prandi, Guilhem and Perna, Gabriela and Meibom, Anders and Tuia, Devis},year = {2025},eprint = {2503.20000},archivePrefix = {arXiv}}@article{gonzalezrivero2020monitoring,title = {Monitoring of Coral Reefs Using Artificial Intelligence: A Feasible and Cost-Effective Approach},author = {Gonz{\'a}lez-Rivero, Manuel and Beijbom, Oscar and Rodriguez-Ramirez, Alberto and others},journal = {Remote Sensing},volume = {12},number = {3},pages = {489},year = {2020},doi = {10.3390/rs12030489}}@misc{gonzalezrivero2019seaview,title = {Seaview Survey Photo-quadrat and Image Classification Dataset},author = {Gonz{\'a}lez-Rivero, Manuel and others},year = {2019},publisher = {University of Queensland},doi = {10.14264/UQL.2019.930},note = {XL Catlin Seaview Survey, UQ eSpace UQ\_734799}}@misc{islam2020suim,title = {Semantic Segmentation of Underwater Imagery: Dataset and Benchmark},author = {Islam, Md Jahidul and Edge, Chelsey and Xiao, Yuyang and Luo, Peigen and Mehtaz, Muntaqim and Morse, Christopher and Enan, Sadman Sakib and Sattar, Junaed},year = {2020},eprint = {2004.01241},archivePrefix = {arXiv}}@inproceedings{lian2023watermask,title = {WaterMask: Instance Segmentation for Underwater Imagery},author = {Lian, Shijie and others},booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},pages = {1305--1315},year = {2023}}@misc{li2025uwsam,title = {Advancing Marine Research: UWSAM Framework and UIIS10K Dataset for Precise Underwater Instance Segmentation},author = {Li, Hua and Lian, Shijie and Li, Zhiyuan and Cong, Runmin and Li, Chongyi and Yang, Laurence T. and Zhang, Weidong and Kwong, Sam},year = {2025},eprint = {2505.15581},archivePrefix = {arXiv}}@inproceedings{lian2024usis10k,title = {Diving into Underwater: Segment Anything Model Guided Underwater Salient Instance Segmentation and A Large-scale Dataset},author = {Lian, Shijie and Zhang, Ziyi and Li, Hua and Li, Wenjie and Yang, Laurence Tianruo and Kwong, Sam and Cong, Runmin},booktitle = {Proceedings of the 41st International Conference on Machine Learning (ICML)},series = {PMLR},volume = {235},pages = {29545--29559},year = {2024}}@misc{roboflow2020aquarium,title = {Aquarium Combined},author = {{Roboflow}},year = {2020},howpublished = {\url{https://public.roboflow.ai/object-detection/aquarium}}}```</details>## Links and contact- Website: [reef.support](https://reef.support) | documentation: [docs.reef.support](https://docs.reef.support) | Hugging Face: [reefsupport](https://huggingface.co/reefsupport)- Code, registry and release builder: [github.com/reefsupport/marine-data](https://github.com/reefsupport/marine-data)- Built by [Reef Support](https://reef.support) to protect and restore marine ecosystems. 🌊
README.md+292-61
assets/preview-coral-masks.pngAdded

Large File Pointer Details
- SHA256: 69b332474031c1b2979216cf800a38deb0c5a94dcb3ea0f29c98760da5ddfa5d
- Pointer size: 131 Bytes
- Size of remote file: 621 kB
assets/preview-fish-boxes.pngAdded

Large File Pointer Details
- SHA256: 01f8182ac24174df7fd32253838c7342b4028f4ee55635c6eaa99ac14b03855f
- Pointer size: 131 Bytes
- Size of remote file: 630 kB
assets/preview-instance-masks.pngAdded

Large File Pointer Details
- SHA256: fc81afda1db4649cdf48bbd9a195e81376356f589c9fab2b4a6f52e8fe2da3bd
- Pointer size: 131 Bytes
- Size of remote file: 648 kB
assets/preview-scene-masks.pngAdded

Large File Pointer Details
- SHA256: 1852fa7f59dc5a460207761d6c0147c9eac14f65702407989ca39a329f40fbfe
- Pointer size: 131 Bytes
- Size of remote file: 650 kB