From a724a25043a1f4051a6fa4b90463f075e4fff7af Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Sun, 4 Jun 2023 19:04:41 -0400 Subject: [PATCH] fix --- scripts/server.py | 2 +- scripts/species.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/server.py b/scripts/server.py index df1106964..e469dbb15 100755 --- a/scripts/server.py +++ b/scripts/server.py @@ -106,7 +106,7 @@ def loadMetaModel(): global M_OUTPUT_LAYER_INDEX # Load TFLite model and allocate tensors. - M_INTERPRETER = tflite.Interpreter(model_path=userDir + '/BirdNET-Pi/model/BirdNET_GLOBAL_3K_V2.3_MData_Model_FP16.tflite') + M_INTERPRETER = tflite.Interpreter(model_path=userDir + '/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_FP16.tflite') M_INTERPRETER.allocate_tensors() # Get input and output tensors. diff --git a/scripts/species.py b/scripts/species.py index 0f171fd0b..72350bc3a 100644 --- a/scripts/species.py +++ b/scripts/species.py @@ -17,7 +17,7 @@ def loadMetaModel(): global CLASSES # Load TFLite model and allocate tensors. - M_INTERPRETER = tflite.Interpreter(model_path=userDir + '/BirdNET-Pi/model/BirdNET_GLOBAL_3K_V2.3_MData_Model_FP16.tflite') + M_INTERPRETER = tflite.Interpreter(model_path=userDir + '/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_FP16.tflite') M_INTERPRETER.allocate_tensors() # Get input and output tensors.