From 130ffd01cf30a85676a1e9fd83e3fc92deed7786 Mon Sep 17 00:00:00 2001 From: SunAhong1993 Date: Wed, 18 Nov 2020 15:26:05 +0800 Subject: [PATCH] fix the conflict --- x2paddle/core/program.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x2paddle/core/program.py b/x2paddle/core/program.py index 6da3476..74ce1e4 100644 --- a/x2paddle/core/program.py +++ b/x2paddle/core/program.py @@ -637,4 +637,5 @@ class PaddleGraph(object): if str(e) == "'target_vars' should be a list of Variable.": print("[DyGraph2StaticGraph Error] Can not convert the dygraph to static! The output of PyTorch mustbe Variable or a list of Variable.") else: - print(e) \ No newline at end of file + print(e) + exit(0) \ No newline at end of file -- GitLab