Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fadilm777 committed Feb 6, 2024
1 parent 2b2a6bb commit 670dcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/yolov8.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def predict(self, image: Image.Image) -> Optional[BoundingBox]:
results = []
for r in pred:
results = r.boxes.xywh.tolist()
if len(results) == 0: pass
if len(results) == 0: return None
else:
x = results[0]
y = results[1]
Expand Down

0 comments on commit 670dcf3

Please sign in to comment.