Skip to content

Commit

Permalink
remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcA711 committed May 20, 2024
1 parent e53644d commit 1837257
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frigate/detectors/plugins/rknn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/"


Expand Down Expand Up @@ -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"]):
Expand Down

0 comments on commit 1837257

Please sign in to comment.