mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-07 02:18:07 +01:00
Remove redundant tensorflow import in BirdRealTimeProcessor (#22127)
Was added inae0c1ca(#21301) and then incompletely reverted inec1d794(#21320).
This commit is contained in:
@@ -73,11 +73,6 @@ class CustomStateClassificationProcessor(RealTimeProcessorApi):
|
||||
self.__build_detector()
|
||||
|
||||
def __build_detector(self) -> None:
|
||||
try:
|
||||
from tflite_runtime.interpreter import Interpreter
|
||||
except ModuleNotFoundError:
|
||||
from ai_edge_litert.interpreter import Interpreter
|
||||
|
||||
model_path = os.path.join(self.model_dir, "model.tflite")
|
||||
labelmap_path = os.path.join(self.model_dir, "labelmap.txt")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user