The dataset viewer is not available for this split.
Error code: TooBigContentError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
MicroMat-3K
MicroMat-3K is the test set introduced with
ZIM: Zero-Shot Image Matting for Anything for evaluating
zero-shot interactive (promptable) matting. It has 3,000 object-level alpha mattes
with "micro-level" detail on high-resolution natural images. Each matte comes with the
point and box prompts that select its object. The mattes are split by granularity into
fine (750) and coarse (2,250), and each split is scored separately.
from datasets import load_dataset
# ~13.7 GB in total: stream it unless you really want it all on disk
ds = load_dataset("nobg/MicroMat-3K", split="fine", streaming=True)
row = next(iter(ds))
row["image"] # PIL RGB, original resolution
row["matte"] # PIL "L", 8-bit soft alpha matte of ONE object (0-255)
row["points"] # [[x, y, label], ...] label 1 = positive, 0 = negative
row["bbox"] # [x1, y1, x2, y2]
row["seg"] # PIL "L" or None (present for only 100 rows per split)
row["image_id"], row["object_id"], row["granularity"] # '0002', '9', 'fine'
What this repo is
This is a parquet conversion of
naver-iv/MicroMat-3K. The upstream
dataset is a folder tree (img/, matte/{fine,coarse}/, prompt/{fine,coarse}/*.json,
seg/{fine,coarse}/*.png) plus a data_list.txt that defines the 3,000 evaluation entries.
Each line of data_list.txt becomes one row here. The image is stored inline with its
matte, and the prompt JSON ({"point": [...], "bbox": [...]}) is unpacked into the
points and bbox columns.
Checked against upstream: the row counts, distinct images per split and objects-per-image
distributions are identical to data_list.txt. Prompts were spot-checked against the
upstream JSON (exact match), and a spot-checked seg PNG is byte-identical to the upstream
file.
Note on the name. The ZIM README describes MicroMat-3K as "3,000 high-resolution images". In the released files, 3,000 is the number of matte labels (objects). They come from 237 distinct images, each annotated with several objects (up to 129). The upstream README's layout diagram also swaps two extensions: in the release,
prompt/holds.jsonandseg/holds.png.
Columns
| column | type | description |
|---|---|---|
image |
image (RGB) | the full source image at original resolution (sampled sizes: 1356–2040 px per side) |
matte |
image (L) |
8-bit soft alpha matte for one object, same size as image. Do not binarize it. |
seg |
image (L) or null |
upstream seg/ mask for the object. It is non-null for only 100 / 750 fine rows and 100 / 2,250 coarse rows (upstream ships just 100 seg files per granularity). All 200 are grayscale with intermediate values, not strictly binary. ZIM's evaluation does not use it. |
points |
list of [x, y, label] (int32) |
point prompts in pixel coordinates. label 1 = positive, 0 = negative. 1–28 points per object (mean ≈ 6), and every object has at least one positive point. |
bbox |
[x1, y1, x2, y2] (int32) |
box prompt in pixel coordinates (top-left, bottom-right) |
image_id |
string | zero-padded image id, e.g. 0002. It is shared by all objects of the same image, including across splits. |
object_id |
string | object id within the image, e.g. 9. Upstream file stem = {image_id}_{object_id}. |
granularity |
string | fine or coarse, always equal to the split name |
Splits
| split | rows (objects) | distinct images | objects per image | points per object |
|---|---|---|---|---|
fine |
750 | 202 | 1–30 (median 3) | 1–23, mean 6.1 |
coarse |
2,250 | 189 | 1–129 (median 6) | 1–28, mean 5.7 |
| total | 3,000 | 237 |
154 images appear in both splits, with different objects in each. There is no train split: MicroMat-3K is test-only.
Evaluation
eval.yaml registers this repo as a benchmark that follows ZIM's own protocol
(script/run_eval.sh,
eval/metric.py,
eval/main_eval.py).
It has 20 tasks, named {split}_{prompt}_{metric}, and all are lower is better:
| split | prompt | tasks |
|---|---|---|
fine |
point |
fine_point_sad, fine_point_mse, fine_point_mae, fine_point_grad, fine_point_conn |
fine |
box |
fine_box_sad, fine_box_mse, fine_box_mae, fine_box_grad, fine_box_conn |
coarse |
point |
coarse_point_sad, … coarse_point_conn |
coarse |
box |
coarse_box_sad, … coarse_box_conn |
- One prediction per prompt type. Each object is predicted once from its
pointsand once from itsbbox, and the two are scored separately. Report a score under the task for the prompt you actually used. - Metrics: SAD (sum of absolute differences), MSE, MAE, Grad (gradient error) and Conn
(connectivity error), computed between the predicted and ground-truth
matte. - Scales (as in ZIM): mattes are in [0, 1] and each metric is averaged per object. MSE, MAE and Grad are per-pixel means ×10³. SAD and Conn are per-image sums ÷10³.
- Size buckets: ZIM also reports S / M / L subsets. Objects are bucketed by the fraction of matte pixels > 0.3: S < 1 %, M < 10 %, L ≥ 10 %. The leaderboard tasks use all objects.
Source and credit
- Dataset:
naver-iv/MicroMat-3K(NAVER Cloud), also distributed as a tarball from github.com/naver-ai/ZIM. - Paper: Kim et al., ZIM: Zero-Shot Image Matting for Anything, arXiv:2411.00626 (ICCV 2025).
Licensing
CC BY 4.0, as declared on the upstream dataset card. Attribution is required, so please cite the paper. Note that the ZIM code repository is under a different license (CC BY-NC 4.0). That license covers the model code, not this data.
Citation
@article{kim2024zim,
title={ZIM: Zero-Shot Image Matting for Anything},
author={Kim, Beomyoung and Shin, Chanyong and Jeong, Joonhyun and Jung, Hyungsik and Lee, Se-Yun and Chun, Sewhan and Hwang, Dong-Hyun and Yu, Joonsang},
journal={arXiv preprint arXiv:2411.00626},
year={2024}
}
- Downloads last month
- 288