diff --git a/python/paddle/fluid/tests/unittests/test_parallel_executor_test_while_train.py b/python/paddle/fluid/tests/unittests/test_parallel_executor_test_while_train.py index f5a0ba624698b49e0d323e6f830be23a4148392b..db2826653edf6bf6ddd498cbd56b07da646cebf4 100644 --- a/python/paddle/fluid/tests/unittests/test_parallel_executor_test_while_train.py +++ b/python/paddle/fluid/tests/unittests/test_parallel_executor_test_while_train.py @@ -88,7 +88,7 @@ class ParallelExecutorTestingDuringTraining(unittest.TestCase): self.assertTrue( np.allclose( - train_loss, test_loss, atol=1e-8), + train_loss, test_loss, atol=1e-2), "Train loss: " + str(train_loss) + "\n Test loss:" + str(test_loss))