Datasets:
image imagewidth (px) 320 3.84k | mask imagewidth (px) 320 3.84k | class_name stringclasses 5
values | condition stringclasses 1
value |
|---|---|---|---|
big fish | |||
small fish | |||
others | |||
big fish | |||
others | |||
big fish | |||
big fish | |||
others | |||
big fish | |||
others | |||
small fish | |||
turtle | |||
small fish | |||
big fish | |||
big fish | |||
big fish | |||
big fish | |||
big fish | |||
big fish | |||
big fish | |||
big fish | |||
small fish | |||
turtle | |||
small fish | |||
big fish | |||
big fish | |||
big fish | |||
turtle | |||
big fish | |||
sea products | |||
big fish | |||
others | |||
big fish | |||
big fish | |||
others | |||
big fish | |||
others | |||
others | |||
others | |||
big fish | |||
others | |||
big fish | |||
big fish | |||
turtle | |||
small fish | |||
small fish | |||
small fish | |||
big fish | |||
sea products | |||
big fish | |||
big fish | |||
big fish | |||
small fish | |||
small fish | |||
turtle | |||
turtle | |||
big fish | |||
turtle | |||
big fish | |||
big fish | |||
big fish | |||
big fish | |||
small fish | |||
others | |||
others | |||
others | |||
others | |||
big fish | |||
others | |||
big fish | |||
big fish | |||
big fish | |||
small fish | |||
others | |||
small fish | |||
turtle | |||
turtle | |||
big fish | |||
big fish | |||
big fish | |||
big fish | |||
turtle | |||
small fish | |||
small fish | |||
turtle | |||
small fish | |||
big fish | |||
big fish | |||
others | |||
others | |||
small fish | |||
sea products | |||
turtle | |||
big fish | |||
small fish | |||
big fish | |||
others | |||
big fish | |||
small fish | |||
sea products |
RMAS
RMAS is a real-world marine animal segmentation (MAS) benchmark. It has 3,014
underwater images, each with a binary object-level mask and an animal category. It uses
the standard 2,514 / 500 train / test split. The test images are also tagged by
imaging condition (clean, degraded or camouflaged).
from datasets import load_dataset
ds = load_dataset("nobg/RMAS") # train: 2514, test: 500
ex = ds["test"][0]
ex["image"] # PIL RGB, original resolution
ex["mask"].convert("L") # binary GT mask (mode varies in test, see below)
ex["class_name"] # 'sea products' | 'small fish' | 'big fish' | 'turtle' | 'others'
ex["condition"] # 'clean' | 'degraded' | 'camouflaged' (test only)
Columns
| column | type | description |
|---|---|---|
image |
image | RGB underwater photo, original resolution |
mask |
image | binary ground-truth mask, same size as image |
class_name |
string | animal category (5 values) |
condition |
string | imaging condition on test; always the empty string "" on train |
One property to know before you decode
Every train mask is mode L. In test, 441 masks are L and 59 are
RGB. datasets decodes each file to whatever mode it declares, so call
.convert("L") instead of assuming a single channel.
Splits and statistics
train |
test |
|
|---|---|---|
| images | 2,514 | 500 |
| width range | 320–3840 px | 201–3840 px |
| median size | 720×480 | 640×480 |
class_name |
train |
test |
|---|---|---|
sea products |
1,284 | 196 |
small fish |
526 | 155 |
big fish |
501 | 107 |
others |
107 | 25 |
turtle |
96 | 17 |
condition (test only) |
images |
|---|---|
degraded |
328 |
clean |
138 |
camouflaged |
34 |
The condition column lets you report per-slice scores. The camouflaged slice is
small (34 images), so treat its numbers as noisy.
Evaluation
This repo includes an eval.yaml that registers RMAS as a Hub benchmark on the
test split (config default). It defines five tasks:
| task id | metric | better |
|---|---|---|
test_miou |
mean IoU | higher |
test_s_measure |
structure measure Sα | higher |
test_weighted_f |
weighted F-measure Fβw | higher |
test_mean_e |
mean E-measure | higher |
test_mae |
mean absolute error | lower |
MAS papers that use RMAS, together with MAS3K, UFO120 and RUWI (for example Dual-SAM, CVPR 2024, and MASAM2), usually report mIoU, Sα, weighted F (Fβw), mean E and MAE, the same five metrics as the tasks above, so leaderboard scores line up with published tables.
Source and credit
RMAS was introduced with MASNet (Fu et al., IEEE Journal of Oceanic Engineering). The paper's abstract describes "a new large-scale real-world MAS data set ... of over 3000 images ... Each image is annotated with an object-level mask and assigned to a category". Dual-SAM cites this paper for RMAS and describes it as 3,014 images split 2,514 / 500, which matches this repo.
Licensing
No license is declared here, and none was found from the RMAS authors, so it is left
as unknown rather than guessed. Treat the data as research use only and check with
the original authors before any other use.
Citation
@article{fu2024masnet,
title={{MASNet}: A Robust Deep Marine Animal Segmentation Network},
author={Fu, Zhenqi and Chen, Ruizhe and Huang, Yue and Cheng, En and Ding, Xinghao and Ma, Kai-Kuang},
journal={IEEE Journal of Oceanic Engineering},
volume={49},
number={3},
pages={1104--1115},
year={2024},
doi={10.1109/JOE.2023.3252760}
}
- Downloads last month
- 101