From 754035c9fadd98629c77b3f8b479239704806834 Mon Sep 17 00:00:00 2001 From: ceci3 Date: Mon, 9 Mar 2020 17:54:59 +0800 Subject: [PATCH] update readme (#4384) --- PaddleCV/gan/README.md | 2 +- PaddleCV/gan/util/utility.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PaddleCV/gan/README.md b/PaddleCV/gan/README.md index cb545398..60e43c85 100644 --- a/PaddleCV/gan/README.md +++ b/PaddleCV/gan/README.md @@ -68,7 +68,7 @@ ### 安装说明 **安装[PaddlePaddle](https://github.com/PaddlePaddle/Paddle):** -在当前目录下运行样例代码需要PadddlePaddle Fluid的v.1.6或以上的版本。如果你的运行环境中的PaddlePaddle低于此版本,请根据[安装文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/1.5/beginners_guide/install/index_cn.html)中的说明来更新PaddlePaddle。 +在当前目录下运行样例代码需要PadddlePaddle Fluid的v.1.7.1或以上的版本。如果你的运行环境中的PaddlePaddle低于此版本,请根据[安装文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/1.5/beginners_guide/install/index_cn.html)中的说明来更新PaddlePaddle。 其他依赖包: 1. `pip install imageio` 或者 `pip install -r requirements.txt` 安装imageio包(保存图片代码中所依赖的包) diff --git a/PaddleCV/gan/util/utility.py b/PaddleCV/gan/util/utility.py index 92c138ab..ed939f52 100644 --- a/PaddleCV/gan/util/utility.py +++ b/PaddleCV/gan/util/utility.py @@ -355,12 +355,12 @@ def check_version(): Log error and exit when the installed version of paddlepaddle is not satisfied. """ - err = "PaddlePaddle version 1.6 or higher is required, " \ + err = "PaddlePaddle version 1.7.1 or higher is required, " \ "or a suitable develop version is satisfied as well. \n" \ "Please make sure the version is good with your code." \ try: - fluid.require_version('1.6.0') + fluid.require_version('1.7.1') except Exception as e: print(err) sys.exit(1) -- GitLab