NumPy 2.0 changed str representation of their floats, because we do not care about the added detail, force the old representation

This commit is contained in:
frederik
2025-10-18 10:53:34 +02:00
parent 6428635a33
commit 8c0885a13b
+1
View File
@@ -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