diff --git a/python/paddle/fluid/tests/unittests/seresnext_net.py b/python/paddle/fluid/tests/unittests/seresnext_net.py index 5babd0e972a5e8272542eaa1f1df7370153af052..4d63c208de34dcaf81c36170bba4aaba143d1668 100644 --- a/python/paddle/fluid/tests/unittests/seresnext_net.py +++ b/python/paddle/fluid/tests/unittests/seresnext_net.py @@ -14,6 +14,7 @@ from __future__ import print_function import paddle.fluid as fluid +fluid.core._set_eager_deletion_mode(-1, -1, False) import paddle.fluid.layers.ops as ops from paddle.fluid.initializer import init_on_cpu