Clay Embeddings#
- class torchgeo.datasets.ClayEmbeddings(root='data', transforms=None)[source]#
Bases:
NonGeoDatasetClay Embeddings dataset.
Supports both:
See https://clay-foundation.github.io/model/ for details.
Added in version 0.9.
- __init__(root='data', transforms=None)[source]#
Initialize a new ClayEmbeddings 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: