From 0012783a32d155c3f4ec051d9939da307e408bc0 Mon Sep 17 00:00:00 2001 From: Ashwin Vaidya Date: Wed, 13 Dec 2023 09:33:27 +0100 Subject: [PATCH] Remove printing precision --- model_api/python/openvino/model_api/models/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_api/python/openvino/model_api/models/utils.py b/model_api/python/openvino/model_api/models/utils.py index e6fbadac..b6263304 100644 --- a/model_api/python/openvino/model_api/models/utils.py +++ b/model_api/python/openvino/model_api/models/utils.py @@ -42,7 +42,7 @@ def __str__(self) -> str: anomaly_map_min, anomaly_map_max = self._compute_min_max(self.anomaly_map) pred_mask_min, pred_mask_max = self._compute_min_max(self.pred_mask) return ( - f"anomaly_map min:{anomaly_map_min:.3f} max:{anomaly_map_max};" + f"anomaly_map min:{anomaly_map_min} max:{anomaly_map_max};" f"pred_score:{self.pred_score};" f"pred_label:{self.pred_label};" f"pred_mask min:{pred_mask_min} max:{pred_mask_max};"