Major TOM Embeddings#
- class torchgeo.datasets.MajorTOMEmbeddings(root='data', transforms=None)[source]#
Bases:
NonGeoDatasetMajor TOM Embeddings dataset.
Major TOM (Terrestrial Observation Metaset) is a standard for curating, sharing and combining large-scale EO datasets. This data loader provides access to the official embedding datasets created using Major TOM Core and several existing foundation models.
If you use this dataset in your research, please cite the following paper:
Added in version 0.9.
- __init__(root='data', transforms=None)[source]#
Initialize a new MajorTOMEmbeddings instance.
- Parameters:
- Raises:
DatasetNotFoundError – If dataset is not found.
- __len__()[source]#
Return the number of data points in the dataset.
- Returns:
Length of the dataset.
- Return type: