Skip to content

Commit

Permalink
style: [CI] format
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions Bot committed Aug 10, 2023
1 parent 756086f commit f61079b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ def _run(self, payload: "Payload") -> "tuple[bitarray | None, dict[str, list] |
detections = Detection3D.get(payload.metadata)
assert detections is not None

for k, detection, tracking, frame in zip(payload.keep, detections, trackings, payload.video):
for k, detection, tracking, frame in zip(
payload.keep, detections, trackings, payload.video
):
dets, _, dids = detection
if not k or tracking is None or detection is None:
metadata.append(dict())
Expand All @@ -33,8 +35,7 @@ def _run(self, payload: "Payload") -> "tuple[bitarray | None, dict[str, list] |

detection_map = {
did: (det, p, pfc)
for det, p, pfc, did
in zip(dets, points, points_from_camera, dids)
for det, p, pfc, did in zip(dets, points, points_from_camera, dids)
}
trackings3d: "dict[int, Tracking3DResult]" = {}
for object_id, t in tracking.items():
Expand Down
1 change: 1 addition & 0 deletions spatialyze/video_processor/utils/insert_trajectory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import datetime

import numpy as np
import numpy.typing as npt

Expand Down

0 comments on commit f61079b

Please sign in to comment.