urbanlc.model.deep_learning.DeepLearningLCC.validate#
- DeepLearningLCC.validate(root: Optional[str] = None, img_glob: Optional[str] = None, gt_glob: Optional[str] = None, img_paths: Optional[List[str]] = None, gt_paths: Optional[List[str]] = None, cache: bool = True) Dict[str, Any] #
Validate the deep learning model.
- Parameters:
root (str, optional) – Root directory for data.
img_glob (str, optional) – Image file pattern.
gt_glob (str, optional) – Ground truth file pattern.
img_paths (List[str], optional) – List of image paths.
gt_paths (List[str], optional) – List of ground truth paths.
cache (bool, optional) – Whether to use caching.
- Returns:
Dictionary of validation results.
- Return type:
Dict[str, Any]