fix
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ def loadMetaModel():
|
|||||||
global M_OUTPUT_LAYER_INDEX
|
global M_OUTPUT_LAYER_INDEX
|
||||||
|
|
||||||
# Load TFLite model and allocate tensors.
|
# 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()
|
M_INTERPRETER.allocate_tensors()
|
||||||
|
|
||||||
# Get input and output tensors.
|
# Get input and output tensors.
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ def loadMetaModel():
|
|||||||
global CLASSES
|
global CLASSES
|
||||||
|
|
||||||
# Load TFLite model and allocate tensors.
|
# 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()
|
M_INTERPRETER.allocate_tensors()
|
||||||
|
|
||||||
# Get input and output tensors.
|
# Get input and output tensors.
|
||||||
|
|||||||
Reference in New Issue
Block a user