mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix logger invocation
This commit is contained in:
parent
2181379475
commit
927f56ab9f
@ -71,10 +71,10 @@ class LocalObjectDetector(ObjectDetector):
|
||||
logger.info("No EdgeTPU detected.")
|
||||
raise
|
||||
else:
|
||||
self.logger.error("****************************************************")
|
||||
self.logger.error(f"** CPU detectors are not recommended and should")
|
||||
self.logger.error(f"** only be used for testing or for trial purposes.")
|
||||
self.logger.error(("****************************************************"))
|
||||
logger.error("****************************************************")
|
||||
logger.error(f"** CPU detectors are not recommended and should")
|
||||
logger.error(f"** only be used for testing or for trial purposes.")
|
||||
logger.error(("****************************************************"))
|
||||
self.interpreter = tflite.Interpreter(
|
||||
model_path="/cpu_model.tflite", num_threads=num_threads
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user