Skip to content
This repository has been archived by the owner on Aug 5, 2023. It is now read-only.

Commit

Permalink
fix empty frame
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylode committed Feb 8, 2022
1 parent 2319714 commit f396a62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def run(self):
frame_id = batch['frames'][i]

ori_img = ori_imgs[i]

if len(boxes) == 0:
continue
track_result = self.tracker.run(ori_img, boxes, labels, scores)


Expand Down

0 comments on commit f396a62

Please sign in to comment.