Skip to content

Commit

Permalink
cleanup data comment
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jan 27, 2021
1 parent 5a51cbd commit 8bcd4b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ultralytics_yolov5.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ results.print()
results.save() # or .show()

# Data
print(results.xyxy[0]) # print img1 predictions
# x1 (pixels) y1 (pixels) x2 (pixels) y2 (pixels) confidence class
print(results.xyxy[0]) # print img1 predictions (pixels)
# x1 y1 x2 y2 confidence class
# tensor([[7.50637e+02, 4.37279e+01, 1.15887e+03, 7.08682e+02, 8.18137e-01, 0.00000e+00],
# [9.33597e+01, 2.07387e+02, 1.04737e+03, 7.10224e+02, 5.78011e-01, 0.00000e+00],
# [4.24503e+02, 4.29092e+02, 5.16300e+02, 7.16425e+02, 5.68713e-01, 2.70000e+01]])
Expand Down

0 comments on commit 8bcd4b6

Please sign in to comment.