From 8c0885a13b8ab8db4a36a198f0112c8bed6b629c Mon Sep 17 00:00:00 2001 From: frederik Date: Sat, 18 Oct 2025 10:53:34 +0200 Subject: [PATCH] NumPy 2.0 changed str representation of their floats, because we do not care about the added detail, force the old representation --- scripts/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/server.py b/scripts/server.py index 4751e86..1354d07 100644 --- a/scripts/server.py +++ b/scripts/server.py @@ -11,6 +11,7 @@ from utils.helpers import get_settings, Detection os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' os.environ['CUDA_VISIBLE_DEVICES'] = '' +np.set_printoptions(legacy="1.25") try: import tflite_runtime.interpreter as tflite