- Download the raw files (requires creating an account):
- Download leftImg8bit_trainvaltest.zip.
- Download gtFine_trainvaltest.zip.
- Extract both files.
- Convert the files to the expected folder structure and generate panoptic ground truth data for evaluation
from opendr.perception.panoptic_segmentation import CityscapesDataset
DOWNLOAD_PATH = '~/data/cityscapes_raw'
DATA_ROOT = '~/data/cityscapes'
CityscapesDataset.prepare_data(DOWNLOAD_PATH, DATA_ROOT)- Download the raw dataset from the EfficientPS website.
- Extract the file.
- Convert the files to the expected folder structure and generate panoptic ground truth data for evaluation
from opendr.perception.panoptic_segmentation import KittiDataset
DOWNLOAD_PATH = '~/data/KITTI-panoptic-segmentation-dataset'
DATA_ROOT = '~/data/kitti'
KittiDataset.prepare_data(DOWNLOAD_PATH, DATA_ROOT)