diff --git a/python/paddle/fluid/executor.py b/python/paddle/fluid/executor.py index f6cca91374e58d39cda125fda79861810726e135..23ab436c0634bef092e2a8bbd1c3b59c959bd978 100644 --- a/python/paddle/fluid/executor.py +++ b/python/paddle/fluid/executor.py @@ -1079,9 +1079,6 @@ class Executor(object): use_prune=use_prune, return_merged=return_merged) except Exception as e: - if not isinstance(e, core.EOFException): - warnings.warn( - "The following exception is not an EOF exception.") six.reraise(*sys.exc_info()) def _run_impl(self, program, feed, fetch_list, feed_var_name,