From 25e7474c7e6ceae7eedeb718d3de0495122b11d9 Mon Sep 17 00:00:00 2001 From: Iman Gohari Date: Mon, 16 Sep 2024 15:15:26 +0000 Subject: [PATCH] fix(pr1284-ci): fixed the expected values after for img2img slice --- tests/test_diffusers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_diffusers.py b/tests/test_diffusers.py index 3015dc21db..a47573c5a7 100755 --- a/tests/test_diffusers.py +++ b/tests/test_diffusers.py @@ -3330,7 +3330,7 @@ def test_stable_diffusion_xl_img2img_euler(self): self.assertEqual(image.shape, (1, 32, 32, 3)) - expected_slice = np.array([0.4664, 0.4886, 0.4403, 0.6902, 0.5592, 0.4534, 0.5931, 0.5951, 0.5224]) + expected_slice = np.array([0.4925, 0.5007, 0.6594, 0.5544, 0.4423, 0.5585, 0.4643, 0.5444, 0.5376]) self.assertLess(np.abs(image_slice.flatten() - expected_slice).max(), 1e-2)