urbanlc.model.dataloader#

modified from https://github.com/microsoft/torchgeo/blob/main/torchgeo/datasets/landsat.py https://github.com/microsoft/torchgeo/blob/main/torchgeo/datasets/geo.py

Functions

get_dataloader(landsat, esa, sensor_type[, ...])

Get a PyTorch DataLoader for Landsat and ESA2021 datasets.

parse_paths(root, filename_glob[, exclude])

Parse paths of files matching a certain pattern in the given root directory, excluding any paths that contain the specified exclusion keywords.

Classes

CustomRasterDataset([root, crs, res, bands, ...])

Custom raster dataset class for training DL model

ESA2021([root, filename_glob, crs, res, ...])

ESA World Cover 2021 v200 dataset for training/inference

Landsat(root, filename_glob, all_bands, ...)

Landsat dataset for training/inference