diff --git a/frigate/detectors/plugins/rknn.py b/frigate/detectors/plugins/rknn.py index ed1f28f694..03eca80b85 100644 --- a/frigate/detectors/plugins/rknn.py +++ b/frigate/detectors/plugins/rknn.py @@ -17,8 +17,6 @@ supported_models = {ModelTypeEnum.yolonas: "^deci-fp16-yolonas_[sml]$"} -# default_model = "deci-fp16-yolonas_s" - model_chache_dir = "/config/model_cache/rknn_cache/" @@ -111,9 +109,6 @@ def parse_model_input(self, model_path, soc): if model_matched: model_props["filename"] = model_path + f"-{soc}-v2.0.0-1.rknn" - # if model_path == default_model: - # model_props["path"] = "/models/" + model_props["filename"] - # else: model_props["path"] = model_chache_dir + model_props["filename"] if not os.path.isfile(model_props["path"]):