diff --git a/torcheval/metrics/functional/classification/precision.py b/torcheval/metrics/functional/classification/precision.py index 2a275f2..3a1dc87 100644 --- a/torcheval/metrics/functional/classification/precision.py +++ b/torcheval/metrics/functional/classification/precision.py @@ -160,8 +160,8 @@ def _precision_compute( # predictions and the ground truth. bad_class = torch.nonzero(torch.isnan(precision)) logging.warning( - f"{bad_class} classes have zero instances in both the " - "predictions and the ground truth labels. Precision is still logged " + f"{bad_class} classes have zero instances in either the " + "predictions or the ground truth labels. Precision is still logged " "as zero." )