Skip to content

Commit efc44ea

Browse files
committed
update slice 😴
1 parent 07c670e commit efc44ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pipelines/hidream/test_pipeline_hidream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def test_inference(self):
152152

153153
self.assertEqual(image.shape, (1, 128, 128, 3))
154154
expected_slice = np.array(
155-
[0.6253079, 0.6115351, 0.5223988, 0.5683453, 0.44545278, 0.53524655, 0.3968956, 0.5558849, 0.5917772]
155+
[0.572625, 0.5585313, 0.44452268, 0.63370997, 0.37221244, 0.5413587, 0.30990618, 0.61828184, 0.58176327]
156156
)
157157
max_diff = np.abs(image_slice.flatten() - expected_slice).max()
158158
self.assertLessEqual(max_diff, 1e-3, f"Got {image_slice.flatten()=}")

0 commit comments

Comments
 (0)