Skip to content

Commit c0afca2

Browse files
authored
updated onnx pndm test (#2811)
1 parent 42d9501 commit c0afca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pipelines/stable_diffusion/test_onnx_stable_diffusion_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_pipeline_pndm(self):
8181
image_slice = image[0, -3:, -3:, -1]
8282

8383
assert image.shape == (1, 128, 128, 3)
84-
expected_slice = np.array([0.61710, 0.53390, 0.49310, 0.55622, 0.50982, 0.58240, 0.50716, 0.38629, 0.46856])
84+
expected_slice = np.array([0.61737, 0.54642, 0.53183, 0.54465, 0.52742, 0.60525, 0.49969, 0.40655, 0.48154])
8585

8686
assert np.abs(image_slice.flatten() - expected_slice).max() < 1e-1
8787

0 commit comments

Comments
 (0)