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.

__new__(*args, **kwargs)#

Attributes

MaskDataset.functions

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.

MaskDataset.register_datapipe_as_function(...)

MaskDataset.register_function(function_name, ...)