Skip to content

Commit

Permalink
Fix torch GPU CI, I suppose...
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Nov 23, 2024
1 parent 28d39c0 commit a503a16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,7 @@ def test_random_flip_tf_data_bounding_boxes(
)

transformation = {
"translations": backend_utils.convert_tf_tensor(
np.array(translation)
),
"translations": np.array(translation),
"input_shape": image_shape,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ def test_random_flip_tf_data_bounding_boxes(self, zoom, expected_boxes):
)

transformation = {
"height_zoom": backend_utils.convert_tf_tensor(np.array(zoom[0])),
"width_zoom": backend_utils.convert_tf_tensor(np.array(zoom[1])),
"height_zoom": np.array(zoom[0]),
"width_zoom": np.array(zoom[1]),
"input_shape": image_shape,
}

Expand Down

0 comments on commit a503a16

Please sign in to comment.