Datasets:
Tasks:
Image Segmentation
Formats:
parquet
Size:
< 1K
ArXiv:
Tags:
segmentation-refinement
high-resolution
class-agnostic-segmentation
background-removal
benchmark
arxiv:2005.02551
License:
add official coarse input masks
Browse files- README.md +38 -15
- data/test-00000-of-00001.parquet +2 -2
- data/validation-00000-of-00001.parquet +2 -2
- eval.yaml +20 -7
- preview/test-00000-of-00001.parquet +2 -2
- preview/validation-00000-of-00001.parquet +2 -2
README.md
CHANGED
|
@@ -23,15 +23,23 @@ dataset_info:
|
|
| 23 |
list: image
|
| 24 |
- name: classes
|
| 25 |
list: string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
splits:
|
| 27 |
- name: validation
|
| 28 |
-
num_bytes:
|
| 29 |
num_examples: 33
|
| 30 |
- name: test
|
| 31 |
-
num_bytes:
|
| 32 |
num_examples: 71
|
| 33 |
-
download_size:
|
| 34 |
-
dataset_size:
|
| 35 |
configs:
|
| 36 |
- config_name: default
|
| 37 |
data_files:
|
|
@@ -77,6 +85,7 @@ for mask, cls in zip(row["masks"], row["classes"]):
|
|
| 77 |
| `image` | image | RGB photo at original resolution |
|
| 78 |
| `masks` | list of image | one binary ground-truth mask per annotated object, same size as `image` |
|
| 79 |
| `classes` | list of string | PASCAL VOC-style class name for each mask, aligned with `masks` |
|
|
|
|
| 80 |
|
| 81 |
Each row is **one image**, and an image holds 1–3 annotated objects. Scoring is done
|
| 82 |
**per object**, so iterate over `masks` and do not treat a row as a single mask.
|
|
@@ -102,14 +111,26 @@ fall slightly outside that range at both ends.
|
|
| 102 |
|
| 103 |
## Evaluation
|
| 104 |
|
| 105 |
-
The repo's `eval.yaml` registers BIG as a benchmark with
|
|
|
|
|
|
|
| 106 |
|
| 107 |
-
| task |
|
| 108 |
-
|:--|:--|:--|
|
| 109 |
-
| `
|
| 110 |
-
| `
|
| 111 |
-
| `
|
| 112 |
-
| `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
Higher is better for both metrics. **IoU** is the standard intersection-over-union between
|
| 115 |
the predicted and ground-truth mask of each object. **mBA** (mean Boundary Accuracy) is
|
|
@@ -161,8 +182,9 @@ protocol so that leaderboard numbers are comparable.
|
|
| 161 |
|
| 162 |
- **What is scored.** One object is one entry of `masks` (50 in `validation`, 100 in `test`). The model receives the
|
| 163 |
RGB `image` and a coarse mask for that object, and outputs one refined binary mask at the
|
| 164 |
-
full resolution of `image`.
|
| 165 |
-
|
|
|
|
| 166 |
- **Binarization.** Read the prediction and the ground truth as 8-bit grayscale (0 to 255)
|
| 167 |
and threshold both at `> 128`. A prediction of a different size is first resized to the
|
| 168 |
ground-truth size (bilinear).
|
|
@@ -178,14 +200,15 @@ protocol so that leaderboard numbers are comparable.
|
|
| 178 |
authoritative here.
|
| 179 |
- **Units.** Submit both metrics in percent (0 to 100), as in the paper's tables: `93.5`,
|
| 180 |
not `0.935`.
|
| 181 |
-
- **Splits.** `
|
|
|
|
| 182 |
|
| 183 |
Example entry in a model repo's `.eval_results/<name>.yaml` (the value is illustrative):
|
| 184 |
|
| 185 |
```yaml
|
| 186 |
- dataset:
|
| 187 |
id: nobg/BIG
|
| 188 |
-
task_id:
|
| 189 |
value: 93.5
|
| 190 |
```
|
| 191 |
|
|
|
|
| 23 |
list: image
|
| 24 |
- name: classes
|
| 25 |
list: string
|
| 26 |
+
- name: coarse_fcn8s
|
| 27 |
+
list: image
|
| 28 |
+
- name: coarse_refinenet
|
| 29 |
+
list: image
|
| 30 |
+
- name: coarse_deeplabv3plus
|
| 31 |
+
list: image
|
| 32 |
+
- name: coarse_pspnet
|
| 33 |
+
list: image
|
| 34 |
splits:
|
| 35 |
- name: validation
|
| 36 |
+
num_bytes: 177117885
|
| 37 |
num_examples: 33
|
| 38 |
- name: test
|
| 39 |
+
num_bytes: 322985407
|
| 40 |
num_examples: 71
|
| 41 |
+
download_size: 484706657
|
| 42 |
+
dataset_size: 500103292
|
| 43 |
configs:
|
| 44 |
- config_name: default
|
| 45 |
data_files:
|
|
|
|
| 85 |
| `image` | image | RGB photo at original resolution |
|
| 86 |
| `masks` | list of image | one binary ground-truth mask per annotated object, same size as `image` |
|
| 87 |
| `classes` | list of string | PASCAL VOC-style class name for each mask, aligned with `masks` |
|
| 88 |
+
| `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 |
|
| 89 |
|
| 90 |
Each row is **one image**, and an image holds 1–3 annotated objects. Scoring is done
|
| 91 |
**per object**, so iterate over `masks` and do not treat a row as a single mask.
|
|
|
|
| 111 |
|
| 112 |
## Evaluation
|
| 113 |
|
| 114 |
+
The repo's `eval.yaml` registers BIG as a benchmark with eight tasks on the `test` split, one IoU and one
|
| 115 |
+
mBA leaderboard per input model. A refinement model receives the image and the coarse mask from the
|
| 116 |
+
matching column, and is scored on its refined mask:
|
| 117 |
|
| 118 |
+
| IoU task | mBA task | input model | coarse-mask column |
|
| 119 |
+
|:--|:--|:--|:--|
|
| 120 |
+
| `test_fcn8s_iou` | `test_fcn8s_mba` | FCN-8s | `coarse_fcn8s` |
|
| 121 |
+
| `test_refinenet_iou` | `test_refinenet_mba` | RefineNet | `coarse_refinenet` |
|
| 122 |
+
| `test_deeplabv3plus_iou` | `test_deeplabv3plus_mba` | DeepLabV3+ | `coarse_deeplabv3plus` |
|
| 123 |
+
| `test_pspnet_iou` | `test_pspnet_mba` | PSPNet | `coarse_pspnet` |
|
| 124 |
+
|
| 125 |
+
Scoring the coarse inputs themselves, unrefined, with this protocol reproduces the "input" rows of
|
| 126 |
+
CascadePSP Table 3 exactly. Use these as a sanity check for your evaluation code:
|
| 127 |
+
|
| 128 |
+
| input model | IoU (%) | mBA (%) |
|
| 129 |
+
|:--|--:|--:|
|
| 130 |
+
| FCN-8s | 72.39 | 53.63 |
|
| 131 |
+
| RefineNet | 90.20 | 62.03 |
|
| 132 |
+
| DeepLabV3+ | 89.42 | 60.25 |
|
| 133 |
+
| PSPNet | 90.49 | 59.63 |
|
| 134 |
|
| 135 |
Higher is better for both metrics. **IoU** is the standard intersection-over-union between
|
| 136 |
the predicted and ground-truth mask of each object. **mBA** (mean Boundary Accuracy) is
|
|
|
|
| 182 |
|
| 183 |
- **What is scored.** One object is one entry of `masks` (50 in `validation`, 100 in `test`). The model receives the
|
| 184 |
RGB `image` and a coarse mask for that object, and outputs one refined binary mask at the
|
| 185 |
+
full resolution of `image`. The coarse mask comes from the `coarse_<model>` column named by the task
|
| 186 |
+
(for example `coarse_pspnet` for `test_pspnet_iou`). These are the single-scale "Segmentation input" files from CascadePSP's
|
| 187 |
+
[`docs/dataset.md`](https://github.com/hkchengrex/CascadePSP/blob/master/docs/dataset.md), the ones behind the paper's Table 3. Evaluate on the `default` config, never on `preview`.
|
| 188 |
- **Binarization.** Read the prediction and the ground truth as 8-bit grayscale (0 to 255)
|
| 189 |
and threshold both at `> 128`. A prediction of a different size is first resized to the
|
| 190 |
ground-truth size (bilinear).
|
|
|
|
| 200 |
authoritative here.
|
| 201 |
- **Units.** Submit both metrics in percent (0 to 100), as in the paper's tables: `93.5`,
|
| 202 |
not `0.935`.
|
| 203 |
+
- **Splits.** Only `test` has leaderboard tasks. `validation` has no official coarse inputs (the paper uses it for
|
| 204 |
+
ablations only), so its `coarse_*` columns are empty.
|
| 205 |
|
| 206 |
Example entry in a model repo's `.eval_results/<name>.yaml` (the value is illustrative):
|
| 207 |
|
| 208 |
```yaml
|
| 209 |
- dataset:
|
| 210 |
id: nobg/BIG
|
| 211 |
+
task_id: test_pspnet_iou
|
| 212 |
value: 93.5
|
| 213 |
```
|
| 214 |
|
data/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:275d4c4e73b5afbc53095a2e24c4ee90be8f6c0127571ecd58ae25d2928ace93
|
| 3 |
+
size 308508372
|
data/validation-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f5b18abfe29afe2c11179612bfaeccebc927403dbf1a11e667e9adbaa0750e9
|
| 3 |
+
size 176198285
|
eval.yaml
CHANGED
|
@@ -1,17 +1,30 @@
|
|
| 1 |
name: BIG
|
| 2 |
-
description: High-resolution (2K-6K) segmentation refinement benchmark introduced with CascadePSP.
|
|
|
|
| 3 |
leaderboard:
|
| 4 |
base_models_only: false
|
| 5 |
tasks:
|
| 6 |
-
- id:
|
| 7 |
config: default
|
| 8 |
-
split:
|
| 9 |
-
- id:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
config: default
|
| 11 |
-
split:
|
| 12 |
-
- id:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
config: default
|
| 14 |
split: test
|
| 15 |
-
- id:
|
| 16 |
config: default
|
| 17 |
split: test
|
|
|
|
| 1 |
name: BIG
|
| 2 |
+
description: High-resolution (2K-6K) segmentation refinement benchmark introduced with CascadePSP. One
|
| 3 |
+
leaderboard per coarse input model.
|
| 4 |
leaderboard:
|
| 5 |
base_models_only: false
|
| 6 |
tasks:
|
| 7 |
+
- id: test_fcn8s_iou
|
| 8 |
config: default
|
| 9 |
+
split: test
|
| 10 |
+
- id: test_fcn8s_mba
|
| 11 |
+
config: default
|
| 12 |
+
split: test
|
| 13 |
+
- id: test_refinenet_iou
|
| 14 |
+
config: default
|
| 15 |
+
split: test
|
| 16 |
+
- id: test_refinenet_mba
|
| 17 |
config: default
|
| 18 |
+
split: test
|
| 19 |
+
- id: test_deeplabv3plus_iou
|
| 20 |
+
config: default
|
| 21 |
+
split: test
|
| 22 |
+
- id: test_deeplabv3plus_mba
|
| 23 |
+
config: default
|
| 24 |
+
split: test
|
| 25 |
+
- id: test_pspnet_iou
|
| 26 |
config: default
|
| 27 |
split: test
|
| 28 |
+
- id: test_pspnet_mba
|
| 29 |
config: default
|
| 30 |
split: test
|
preview/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87bec511d6c9a9c6976443983ffe6e2d8fc3f81d627b71fc80dded89f24c352c
|
| 3 |
+
size 15806214
|
preview/validation-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:884a9ffd575ca4c2e8e41c4dc5057a6e6957ba7987082261c160df46a3a1fa2f
|
| 3 |
+
size 6763840
|