Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ehpersonal38 committed Jun 4, 2023
1 parent 11e33a6 commit a724a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion scripts/species.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a724a25

Please sign in to comment.