Dataset Viewer
Auto-converted to Parquet Duplicate
name
stringlengths
23
24
image
imagewidth (px)
2.11k
6.14k
masks
images listlengths
1
3
classes
listlengths
1
3
coarse_fcn8s
images listlengths
coarse_refinenet
images listlengths
coarse_deeplabv3plus
images listlengths
coarse_pspnet
images listlengths
11083112904_5d97c7f8e1_o
[ "pottedplant", "sofa" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
14212856105_194f13bd1e_o
[ "car", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
14948103432_9cd8916e79_o
[ "motorbike", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
15233368842_03e51fd91a_o
[ "motorbike", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
17193460795_c8b1510911_o
[ "bird" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
25473736258_52261ab080_o
[ "person", "tv" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
26473946776_ba06424ab7_o
[ "motorbike", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
29111171597_4b9b7547e2_o
[ "cat" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
30498654548_e021f08408_o
[ "cow" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
31191423867_49babfaba9_o
[ "aeroplane" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
31930907864_b30dcb3190_o
[ "dog", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
3414433756_b58a8e0cbd_o
[ "chair" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
3519526630_a8a3c9f06d_o
[ "sheep" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
35422468885_fc58d2d150_o
[ "car" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
36622121113_48ee97772d_o
[ "dog", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
3686733971_b008837544_o
[ "pottedplant" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
37687667036_1e38eec915_o
[ "boat" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
46277316834_e65455bbb6_o
[ "cat" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
47506231072_003d1dc65a_o
[ "bottle", "dog", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
5048389435_5cf7f53a4e_o
[ "bicycle", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
5288836322_1b38a0441b_o
[ "train" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
5396616964_6488fd5069_o
[ "bus" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
5926195926_a9c869f20a_o
[ "bottle", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
6132980100_4c0032153d_o
[ "horse", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
6608363551_d07d933008_o
[ "boat" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
6779524194_936e563ae2_o
[ "horse", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
7054469587_12f58b7dcf_o
[ "bus" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
7144970991_60bc3bd7a1_o
[ "bicycle", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
7153460799_4dd6c5e874_o
[ "sheep" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
7750294878_75a2d1e0a5_o
[ "tvmonitor" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
7955090462_c3fe2c5c45_o
[ "horse", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
8173819181_159049822c_o
[ "aeroplane", "person" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
9615783875_136c72d175_o
[ "bird" ]
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet

BIG

BIG is the very-high-resolution segmentation benchmark introduced with CascadePSP (CVPR 2020). It contains 104 Flickr images, about 1700–6000 px wide, with hand-annotated per-object binary masks: 50 objects in validation and 100 in test. It is meant for evaluating class-agnostic segmentation refinement at full resolution, where boundary quality matters more than at typical benchmark resolutions.

from datasets import load_dataset

ds = load_dataset("nobg/BIG", split="test")   # 71 images, 100 objects
row = ds[0]
row["name"]     # '10444876124_bd55a85740_o'
row["image"]    # PIL RGB, original resolution
for mask, cls in zip(row["masks"], row["classes"]):
    mask = mask.convert("L")   # binary GT for one object (a few are stored as RGB)
    print(cls, mask.size)      # e.g. 'pottedplant', 'sofa'

Columns

column type description
name string Flickr-style file stem, e.g. 10444876124_bd55a85740_o
image image RGB photo at original resolution
masks list of image one binary ground-truth mask per annotated object, same size as image
classes list of string PASCAL VOC-style class name for each mask, aligned with masks
coarse_fcn8s, coarse_refinenet, coarse_deeplabv3plus, coarse_pspnet list of image official CascadePSP single-scale coarse input for each object, aligned with masks; empty (null) in validation, which has no official inputs

Each row is one image, and an image holds 1–3 annotated objects. Scoring is done per object, so iterate over masks and do not treat a row as a single mask.

Splits

split images objects width (px) median size
validation 33 50 2112–6144 3888Γ—2816
test 71 100 1704–6016 3264Γ—2464

The object counts match the official ones (50 validation, 100 test). The authors give the resolution range as "2048*1600 to 5000*3600". The widths measured here, listed above, fall slightly outside that range at both ends.

Things to know before you decode

  • Mask mode. Masks are mode L, except 3 validation masks stored as RGB. Call .convert("L") rather than assuming the mode.
  • Class names. All 20 PASCAL VOC classes appear. person is the most common (15 in validation, 21 in test). Both tv and tvmonitor appear as separate values, as in the source. Merge them yourself if you report per-class results.

Evaluation

The repo's eval.yaml registers BIG as a benchmark with eight tasks on the test split, one IoU and one mBA leaderboard per input model. A refinement model receives the image and the coarse mask from the matching column, and is scored on its refined mask:

IoU task mBA task input model coarse-mask column
test_fcn8s_iou test_fcn8s_mba FCN-8s coarse_fcn8s
test_refinenet_iou test_refinenet_mba RefineNet coarse_refinenet
test_deeplabv3plus_iou test_deeplabv3plus_mba DeepLabV3+ coarse_deeplabv3plus
test_pspnet_iou test_pspnet_mba PSPNet coarse_pspnet

Scoring the coarse inputs themselves, unrefined, with this protocol reproduces the "input" rows of CascadePSP Table 3 exactly. Use these as a sanity check for your evaluation code:

input model IoU (%) mBA (%)
FCN-8s 72.39 53.63
RefineNet 90.20 62.03
DeepLabV3+ 89.42 60.25
PSPNet 90.49 59.63

Higher is better for both metrics. IoU is the standard intersection-over-union between the predicted and ground-truth mask of each object. mBA (mean Boundary Accuracy) is CascadePSP's boundary metric: pixel accuracy measured only in a band around the ground-truth boundary, averaged over several band widths. It is sensitive to edge quality that IoU largely ignores at these resolutions. Published results report the test split.

BIG is the standard high-resolution test set for segmentation refinement. It was introduced with CascadePSP and is also used by CRM (High Quality Segmentation for Ultra High-resolution Images, CVPR 2022), whose code evaluates on BIG with the CascadePSP protocol.

Viewer preview

The preview config holds the same rows in the same order as default, with every image and mask downscaled to a long side of at most 1024 px. It exists only so the Hub dataset viewer can page through the data (the full-resolution test split exceeds the viewer's scan limit).

from datasets import load_dataset

preview = load_dataset("nobg/BIG", "preview", split="test")   # browsing only

Do not evaluate on preview. BIG exists to test very-high-resolution refinement, and mBA depends on full resolution, so all evaluation must use the default config.

Source & credit

Created by Ho Kei Cheng, Jihoon Chung, Yu-Wing Tai and Chi-Keung Tang, and distributed via hkchengrex/CascadePSP:

BIG is a high-resolution segmentation dataset that has been hand-annotated by us. Images are collected from Flickr. Please do not use for commercial purposes.

Licensing

other, non-commercial. The authors ask that BIG not be used for commercial purposes, and they state: "We do not hold the license for the RGB images." The images remain under the terms set by their Flickr owners. The CascadePSP code is MIT-licensed, but that license does not cover this data. Use for research only, and cite the paper.

Evaluation protocol

Scores follow the official CascadePSP code: eval_post.py and util/compute_boundary_acc.py. Use exactly this protocol so that leaderboard numbers are comparable.

  • What is scored. One object is one entry of masks (50 in validation, 100 in test). The model receives the RGB image and a coarse mask for that object, and outputs one refined binary mask at the full resolution of image. The coarse mask comes from the coarse_<model> column named by the task (for example coarse_pspnet for test_pspnet_iou). These are the single-scale "Segmentation input" files from CascadePSP's docs/dataset.md, the ones behind the paper's Table 3. Evaluate on the default config, never on preview.
  • Binarization. Read the prediction and the ground truth as 8-bit grayscale (0 to 255) and threshold both at > 128. A prediction of a different size is first resized to the ground-truth size (bilinear).
  • IoU (*_iou): pooled over the split, not averaged per object: sum_k |P_k AND G_k| / sum_k |P_k OR G_k| over all objects k.
  • mBA (*_mba): for each object, with h, w its mask size and R = (w + h) / 300, use 5 radii r_i = 1 + int((R - 1) * i / 5) for i = 0..4 (Python int(), truncation toward zero). For each radius, the band is the morphological gradient (dilation minus erosion) of the ground truth with a (2r+1) x (2r+1) elliptical kernel (cv2.MORPH_ELLIPSE), and the score is the fraction of band pixels where prediction and ground truth agree. The object's mBA is the mean over the 5 radii; the split's mBA is the unweighted mean over objects. The paper describes the radii as "5 radii in [3, (w+h)/300]"; the code starts at 1 and is authoritative here.
  • Units. Submit both metrics in percent (0 to 100), as in the paper's tables: 93.5, not 0.935.
  • Splits. Only test has leaderboard tasks. validation has no official coarse inputs (the paper uses it for ablations only), so its coarse_* columns are empty.

Example entry in a model repo's .eval_results/<name>.yaml (the value is illustrative):

- dataset:
    id: nobg/BIG
    task_id: test_pspnet_iou
  value: 93.5

Citation

@inproceedings{cheng2020cascadepsp,
  title={{CascadePSP}: Toward Class-Agnostic and Very High-Resolution Segmentation via Global and Local Refinement},
  author={Cheng, Ho Kei and Chung, Jihoon and Tai, Yu-Wing and Tang, Chi-Keung},
  booktitle={CVPR},
  year={2020}
}
Downloads last month
193

Collection including nobg/BIG

Papers for nobg/BIG