We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac9869 commit 29c5147Copy full SHA for 29c5147
torchvision/ops/boxes.py
@@ -305,7 +305,7 @@ def box_area_center(boxes: Tensor) -> Tensor:
305
Tensor[N]: the area for each box
306
"""
307
if not torch.jit.is_scripting() and not torch.jit.is_tracing():
308
- _log_api_usage_once(box_area)
+ _log_api_usage_once(box_area_center)
309
boxes = _upcast(boxes)
310
return boxes[:, 2] * boxes[:, 3]
311
0 commit comments