Skip to content

Commit

Permalink
move playground to evaluation/ablation
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwutk committed Sep 10, 2023
1 parent 286e5c5 commit 03f6305
Show file tree
Hide file tree
Showing 17 changed files with 7 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ 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 or len(dets) == 0 or len(tracking) == 0:
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 03f6305

Please sign in to comment.