urbanlc.model.deep_learning.OLITIRSDeepLearning.normalize_class#

OLITIRSDeepLearning.normalize_class(gt: Tensor) Tensor#

Normalize ground-truth labels.

Parameters:

gt (torch.Tensor) – Ground-truth tensor.

Returns:

Normalized ground-truth tensor.

Return type:

torch.Tensor