MaskDataset#

class MaskDataset[source]#

Dataset for the mask dataset. Loads the images and labels from the dataset.

__init__(mask_dir, *args, **kwargs)[source]#

Initialize the dataset.

static __new__(cls, *args, **kwds)#

Methods

MaskDataset.download_mask(root)

Download mask and returns the root path and folder name.

MaskDataset.extra_repr()

MaskDataset.get_time_to_sample_dict(root)

Return a dictionary of time to sample.