Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: NC4K
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-segmentation
|
| 5 |
+
- mask-generation
|
| 6 |
+
size_categories:
|
| 7 |
+
- 1K<n<10K
|
| 8 |
+
tags:
|
| 9 |
+
- camouflaged-object-detection
|
| 10 |
+
- background-removal
|
| 11 |
+
- salient-object-detection
|
| 12 |
+
configs:
|
| 13 |
+
- config_name: default
|
| 14 |
+
data_files:
|
| 15 |
+
- path: data/test-*
|
| 16 |
+
split: test
|
| 17 |
+
dataset_info:
|
| 18 |
+
features:
|
| 19 |
+
- dtype: image
|
| 20 |
+
name: image
|
| 21 |
+
- dtype: image
|
| 22 |
+
name: mask
|
| 23 |
+
splits:
|
| 24 |
+
- name: test
|
| 25 |
+
num_examples: 4121
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
# NC4K
|
| 29 |
+
|
| 30 |
+
The **NC4K** camouflaged-object test set — 4121 images with binary masks, as
|
| 31 |
+
one `test` split, which is how the benchmark is published and scored.
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
from datasets import load_dataset
|
| 35 |
+
|
| 36 |
+
ds = load_dataset("nobg/NC4K", split="test") # 4121 rows
|
| 37 |
+
ds[0]["image"] # PIL, original resolution
|
| 38 |
+
ds[0]["mask"] # PIL, the binary mask
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
## Why this mirror exists
|
| 42 |
+
|
| 43 |
+
NC4K is the largest camouflaged-object *test* set and is published **test-only**: every
|
| 44 |
+
paper that reports it reports it over all 4121 images. The upstream mirror
|
| 45 |
+
[`PassbyGrocer/NC4K`](https://huggingface.co/datasets/PassbyGrocer/NC4K) had split it
|
| 46 |
+
2884 / 618 / 619 into train / validation / test — a partition invented by the mirror, not
|
| 47 |
+
present in the benchmark. Scoring its `test` split yields a number over 619 images that
|
| 48 |
+
**no published result is comparable to**, while looking like a valid NC4K score.
|
| 49 |
+
|
| 50 |
+
This mirror concatenates the three back into one `test` split and drops the invented
|
| 51 |
+
boundary. Image and mask bytes are **bit-identical** to the source (verified by SHA-256 on
|
| 52 |
+
all 4121 rows of both columns, in order — nothing is decoded or re-encoded);
|
| 53 |
+
`gt` is renamed to `mask` for uniformity with the other `nobg` sets, and the per-object
|
| 54 |
+
`instance` column is dropped.
|
| 55 |
+
|
| 56 |
+
The source also ships a fourth, single-row `valid-00000-of-00001.parquet` that its own
|
| 57 |
+
dataset config does not reference. It is **not** a 4122th image: the row is
|
| 58 |
+
a 352×352 resize — the standard COD training resolution — whereas all 4121 real
|
| 59 |
+
rows are at original resolution across 1 878 distinct sizes, none of them 352×352. It is a
|
| 60 |
+
preprocessing artifact and is excluded.
|
| 61 |
+
|
| 62 |
+
## Licensing
|
| 63 |
+
|
| 64 |
+
**No license is declared** — not by NC4K's authors and not by the upstream mirror. It is
|
| 65 |
+
left unset here rather than guessed; check with the original authors before any use beyond
|
| 66 |
+
research. Same posture as [`nobg/COD10K`](https://huggingface.co/datasets/nobg/COD10K).
|
| 67 |
+
|
| 68 |
+
## Citation
|
| 69 |
+
|
| 70 |
+
```bibtex
|
| 71 |
+
@inproceedings{lv2021simultaneously,
|
| 72 |
+
title={Simultaneously Localize, Segment and Rank the Camouflaged Objects},
|
| 73 |
+
author={Lv, Yunqiu and Zhang, Jing and Dai, Yuchao and Li, Aixuan and Liu, Bowen and Barnes, Nick and Fan, Deng-Ping},
|
| 74 |
+
booktitle={CVPR},
|
| 75 |
+
year={2021}
|
| 76 |
+
}
|
| 77 |
+
```
|