Fix typo in docstring in metrics.py (#15842)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
db047e4e88
commit
b1a80f4d98
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ def _get_covariance_matrix(boxes):
|
|||
boxes (torch.Tensor): A tensor of shape (N, 5) representing rotated bounding boxes, with xywhr format.
|
||||
|
||||
Returns:
|
||||
(torch.Tensor): Covariance metrixs corresponding to original rotated bounding boxes.
|
||||
(torch.Tensor): Covariance matrices corresponding to original rotated bounding boxes.
|
||||
"""
|
||||
# Gaussian bounding boxes, ignore the center points (the first two columns) because they are not needed here.
|
||||
gbbs = torch.cat((boxes[:, 2:4].pow(2) / 12, boxes[:, 4:]), dim=-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue