From 95209a5c9d8f741c51c832c8f2364da5bc0da27b Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Wed, 30 Mar 2022 01:06:06 +0200 Subject: [PATCH] typo --- image_prediction/classifier/classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_prediction/classifier/classifier.py b/image_prediction/classifier/classifier.py index fc1d50b..d7dd316 100644 --- a/image_prediction/classifier/classifier.py +++ b/image_prediction/classifier/classifier.py @@ -26,7 +26,7 @@ class Classifier: def __validate_array_prediction_format(self, prediction): if not len(prediction) == len(self._classes): raise UnexpectedPredictionFormat( - f"Received fewer probabilities ({len(prediction)}) than classes were specified ({len(self._classes)}." + f"Received fewer probabilities ({len(prediction)}) than classes were specified ({len(self._classes)})." ) def __validate_int_prediction_format(self, prediction):