Skip to content

Commit 57f2452

Browse files
committed
use tensor instead of Tensor which is the type
1 parent 36b02dd commit 57f2452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_transforms_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ def affine_rotated_bounding_boxes(bounding_boxes):
586586
]
587587
)
588588
transformed_points = np.matmul(points, affine_matrix.astype(points.dtype).T)
589-
output = torch.Tensor(
589+
output = torch.tensor(
590590
[
591591
float(transformed_points[1, 0]),
592592
float(transformed_points[1, 1]),

0 commit comments

Comments
 (0)