Skip to content

Commit

Permalink
Fix torch gpu ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Dec 12, 2024
1 parent eec1fbd commit 90d36dc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import numpy as np
from absl.testing import parameterized

from keras.src import ops
from keras.src import testing
from keras.src.layers.preprocessing.image_preprocessing.bounding_boxes.converters import ( # noqa: E501
affine_transform,
Expand Down Expand Up @@ -139,4 +140,5 @@ def test_affine_identity(self):
height=self.height,
width=self.width,
)
transformed_boxes = ops.convert_to_numpy(transformed_boxes)
self.assertAllClose(self.boxes["xyxy"], transformed_boxes)

0 comments on commit 90d36dc

Please sign in to comment.