From 2f1fc1dae46860324c12aa5c98206194e86b8b89 Mon Sep 17 00:00:00 2001 From: mamingjie-China Date: Fri, 1 Nov 2019 17:52:27 +0800 Subject: [PATCH] support paddlepaddle 1.6.0 --- x2paddle/convert.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x2paddle/convert.py b/x2paddle/convert.py index c71dabd..75a5621 100644 --- a/x2paddle/convert.py +++ b/x2paddle/convert.py @@ -188,7 +188,7 @@ def main(): if args.version: import x2paddle - print("x2paddle-{} with python>=3.5, paddlepaddle>=1.5.0\n".format( + print("x2paddle-{} with python>=3.5, paddlepaddle>=1.6.0\n".format( x2paddle.__version__)) return @@ -198,8 +198,8 @@ def main(): try: import paddle v0, v1, v2 = paddle.__version__.split('.') - if int(v0) != 1 or int(v1) < 5: - print("paddlepaddle>=1.5.0 is required") + if int(v0) != 1 or int(v1) < 6: + print("paddlepaddle>=1.6.0 is required") return except: print("paddlepaddle not installed, use \"pip install paddlepaddle\"") -- GitLab