Skip to content

Commit 29c5147

Browse files
authored
Update boxes.py
1 parent eac9869 commit 29c5147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/ops/boxes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def box_area_center(boxes: Tensor) -> Tensor:
305305
Tensor[N]: the area for each box
306306
"""
307307
if not torch.jit.is_scripting() and not torch.jit.is_tracing():
308-
_log_api_usage_once(box_area)
308+
_log_api_usage_once(box_area_center)
309309
boxes = _upcast(boxes)
310310
return boxes[:, 2] * boxes[:, 3]
311311

0 commit comments

Comments
 (0)