Automatic Image Matting-500 — 500 high-resolution natural images with
manually labelled alpha mattes, as one test split, which is what the authors published
it as.
from datasets import load_dataset
ds = load_dataset("nobg/AIM-500", split="test") # 500 rows
ds[0]["image"] # PIL RGB, original resolution
ds[0]["mask"].convert("L") # a real 8-bit alpha matte, not a binary mask
# (mode varies upstream — see the note below; convert is… See the full description on the dataset page:
https://huggingface.co/datasets/nobg/AIM-500.