mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-28 17:53:51 +02:00
fix key error for custom models (#12042)
This commit is contained in:
parent
bdda89b5e2
commit
4bca405e29
@ -41,12 +41,12 @@ class Rknn(DetectionApi):
|
|||||||
if model_props["preset"]:
|
if model_props["preset"]:
|
||||||
config.model.model_type = model_props["model_type"]
|
config.model.model_type = model_props["model_type"]
|
||||||
|
|
||||||
if model_props["model_type"] == ModelTypeEnum.yolonas:
|
if model_props["model_type"] == ModelTypeEnum.yolonas:
|
||||||
logger.info(
|
logger.info(
|
||||||
"You are using yolo-nas with weights from DeciAI. "
|
"You are using yolo-nas with weights from DeciAI. "
|
||||||
"These weights are subject to their license and can't be used commercially. "
|
"These weights are subject to their license and can't be used commercially. "
|
||||||
"For more information, see: https://docs.deci.ai/super-gradients/latest/LICENSE.YOLONAS.html"
|
"For more information, see: https://docs.deci.ai/super-gradients/latest/LICENSE.YOLONAS.html"
|
||||||
)
|
)
|
||||||
|
|
||||||
from rknnlite.api import RKNNLite
|
from rknnlite.api import RKNNLite
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user