mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-26 11:31:28 +08:00
Don't print when not using rknn (#19698)
* Debug logs for rknn embeddings check * Debug logs for rknn embeddings check
This commit is contained in:
@@ -132,7 +132,7 @@ def get_soc_type() -> Optional[str]:
|
||||
soc = file.read().split(",")[-1].strip("\x00")
|
||||
return soc
|
||||
except FileNotFoundError:
|
||||
logger.warning("Could not determine SoC type from device tree")
|
||||
logger.debug("Could not determine SoC type from device tree")
|
||||
return None
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ def convert_onnx_to_rknn(
|
||||
if soc is None:
|
||||
soc = get_soc_type()
|
||||
if soc is None:
|
||||
logger.error("Could not determine SoC type")
|
||||
logger.debug("Could not determine SoC type")
|
||||
return False
|
||||
|
||||
# Get model config for the specified type
|
||||
|
Reference in New Issue
Block a user