urbanlc.model.dataloader.CustomRasterDataset#
- class urbanlc.model.dataloader.CustomRasterDataset(root=None, crs=None, res=None, bands=None, transforms=None, cache=False, exclude=None, all_paths=None)#
Custom raster dataset class for training DL model
Attributes
Names of all available bands in the dataset
Bounds of the index.
Color map for the dataset, used for plotting
coordinate reference system (CRS) for the dataset.
Date format string used to parse date from filename.
Glob expression used to search for files.
Regular expression used to extract date from filename.
True if dataset contains imagery, False if dataset contains mask
Names of RGB bands in the dataset, used for plotting
True if data is stored in a separate file for each band, else False.
Methods