Load the PPM-100 dataset in Python with one line of code. Portrait matting benchmark dataset. Stream PPM-100 while training models in PyTorch & TensorFlow.
The PPM-100 (Photography Portrait Matting 100) Dataset is a portrait matting benchmark dataset that contains carefully collected images with respective masks. All the images are diverse and they contain full/half body poses. These images use their original background, and the image resolution is between 1080p and 4k.
Downloading PPM-100 Dataset in Python
Instead of downloading the PPM-100 in Python, you can effortlessly load it in Python via our open-source package Hub with just one line of code.
Load PPM-100 Dataset Subset in Python
1
import hub
2
ds = hub.load('hub://activeloop/ppm100')
Copied!
PPM-100 Dataset Structure
Data Fields
images: tensor containing the image
masks: tensor containing the image
How to use PPM-100 Dataset with PyTorch and TensorFlow in Python
Train a model on PPM-100 dataset with PyTorch in Python