Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwutk committed Aug 15, 2023
1 parent 00b9197 commit 286e5c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file modified playground/run-all-local
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _run(self, payload: "Payload") -> "tuple[bitarray | None, dict[str, list] |
payload.keep, detections, trackings, payload.video
):
dets, _, dids = detection
if not k or tracking is None or detection is None:
if not k or tracking is None or detection is None or len(dets) == 0 or len(tracking) == 0:
metadata.append(dict())
continue

Expand Down

0 comments on commit 286e5c5

Please sign in to comment.