Simple dataset class.

__init__(self:, prefix: str, urls: List[str], md5: str, no_extract: bool = False, data_root: str = '') → None

This class allows user to create simple dataset which includes single file downloading and extracting / copying.

property data_root

Get data root directory. The data root is set at construction time or automatically determined.

property download_dir

Get absolute path to download directory. i.e. ${data_root}/${download_prefix}/${prefix}

property extract_dir

Get absolute path to extract directory. i.e. ${data_root}/${extract_prefix}/${prefix}

property prefix

Get prefix for the dataset.