satellighte.datasets#

class RESISC45(root_dir=None, phase='val', transforms=None, **kwargs)[source]#

RESISC45 dataset is a dataset for Remote Sensing Image Scene Classification (RESISC). It contains 31,500 RGB images of size 256×256 divided into 45 scene classes, each class containing 700 images.

_check_exists()[source]#

Check the Root directory is exists

Return type:

bool

_is_protocol = False#
static _load_image(img_file_path)#
Return type:

ndarray

_split_dataset(phase)[source]#
Return type:

Tuple

property classes: List[str]#
download()[source]#

Download the dataset from the internet

Return type:

None

id_to_name(idx)[source]#
Return type:

str

name_to_id(name)[source]#
Return type:

int

property num_classes: int#
class EuroSAT(root_dir=None, phase='val', transforms=None, **kwargs)[source]#

Eurosat is a dataset and deep learning benchmark for land use and land cover classification. The dataset is based on Sentinel-2 satellite images covering 13 spectral bands and consisting out of 10 classes with in total 27,000 labeled and geo-referenced images.

_check_exists()[source]#

Check the Root directory is exists

Return type:

bool

_is_protocol = False#
static _load_image(img_file_path)#
Return type:

ndarray

_split_dataset(phase)[source]#
Return type:

Tuple

property classes: List[str]#
download()[source]#

Download the dataset from the internet

Return type:

None

id_to_name(idx)[source]#
Return type:

str

name_to_id(name)[source]#
Return type:

int

property num_classes: int#