urbanlc.model.base.LCC#
- class urbanlc.model.base.LCC(save_path: str, legends: Optional[List[int]] = None, class_names: Optional[List[str]] = None)#
Abstract base class for Land Cover Classification (LCC) models.
Methods
Construct transformation maps and functions to map between class labels, indices, and names.
infer
()Abstract method to perform inference with the model.
Abstract method to load a pre-trained model.
Abstract method to save the current model.
train
()Abstract method to train the model.
validate
()Abstract method to validate the model.