Skip to content

Commit

Permalink
fix empty
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed Jan 31, 2025
1 parent 4416fa2 commit a753721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyroengine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ def _update_states(self, frame: Image.Image, preds: np.ndarray, cam_key: str) ->

if len(output_predictions) == 0:
missing_bbox = combine_predictions
missing_bbox[:, -1] = 0

Check warning on line 245 in pyroengine/engine.py

View check run for this annotation

Codecov / codecov/patch

pyroengine/engine.py#L244-L245

Added lines #L244 - L245 were not covered by tests

else:
# Add missing bboxes
Expand Down

0 comments on commit a753721

Please sign in to comment.