Folder Dataset#

Classes:

FolderDataset([data_folder, filepaths])

Wrapper class to handle datasets loaded from a local data folder

class cleanvision.dataset.folder_dataset.FolderDataset(data_folder=None, filepaths=None)[source]#

Bases: Dataset

Wrapper class to handle datasets loaded from a local data folder

Methods:

get_name(item)

Returns the name of the image in the dataset.

get_name(item)[source]#

Returns the name of the image in the dataset. It can be a filename or a str with index information.

Return type:

str