mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-31 13:48:19 +02: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:
parent
f39475a383
commit
539c760953
@ -132,7 +132,7 @@ def get_soc_type() -> Optional[str]:
|
|||||||
soc = file.read().split(",")[-1].strip("\x00")
|
soc = file.read().split(",")[-1].strip("\x00")
|
||||||
return soc
|
return soc
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
logger.warning("Could not determine SoC type from device tree")
|
logger.debug("Could not determine SoC type from device tree")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
@ -168,7 +168,7 @@ def convert_onnx_to_rknn(
|
|||||||
if soc is None:
|
if soc is None:
|
||||||
soc = get_soc_type()
|
soc = get_soc_type()
|
||||||
if soc is None:
|
if soc is None:
|
||||||
logger.error("Could not determine SoC type")
|
logger.debug("Could not determine SoC type")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Get model config for the specified type
|
# Get model config for the specified type
|
||||||
|
Loading…
Reference in New Issue
Block a user