Skip to content

Commit c52f65e

Browse files
authored
Fix the random fail in test_image_classification.py (#14551)
test=develop
1 parent a7188d5 commit c52f65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/tests/book/test_image_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def infer(use_cuda, save_dirname=None):
239239
assert len(results[0]) == len(transpiler_results[0])
240240
for i in range(len(results[0])):
241241
np.testing.assert_almost_equal(
242-
results[0][i], transpiler_results[0][i], decimal=5)
242+
results[0][i], transpiler_results[0][i], decimal=4)
243243

244244
print("infer results: ", results[0])
245245

0 commit comments

Comments
 (0)