未验证 提交 05483bee 编写于 作者: L LielinJiang 提交者: GitHub

fix bugs and update docs (#125)

上级 202dce6b
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
### requirements ### requirements
* PaddlePaddle >= 2.0.0-rc * PaddlePaddle >= 2.0.0-rc
* Python >= 3.5+ * Python >= 3.6
* CUDA >= 9.0 * CUDA >= 9.0
### 1. Install PaddlePaddle ### 1. Install PaddlePaddle
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
### 要求 ### 要求
* PaddlePaddle >= 2.0.0-rc * PaddlePaddle >= 2.0.0-rc
* Python >= 3.5+ * Python >= 3.6
* CUDA >= 9.0 * CUDA >= 9.0
### 1. 安装PaddlePaddle ### 1. 安装PaddlePaddle
......
...@@ -19,9 +19,9 @@ import collections ...@@ -19,9 +19,9 @@ import collections
import numpy as np import numpy as np
import paddle.vision.transforms as T import paddle.vision.transforms as T
import ppgan.datasets.transforms.functional as custom_F
import paddle.vision.transforms.functional as F import paddle.vision.transforms.functional as F
from . import functional as custom_F
from .builder import TRANSFORMS from .builder import TRANSFORMS
if sys.version_info < (3, 3): if sys.version_info < (3, 3):
......
...@@ -20,7 +20,7 @@ with open('requirements.txt', encoding="utf-8-sig") as f: ...@@ -20,7 +20,7 @@ with open('requirements.txt', encoding="utf-8-sig") as f:
def readme(): def readme():
with open('README_en.md', encoding="utf-8-sig") as f: with open('README.md', encoding="utf-8-sig") as f:
README = f.read() README = f.read()
return README return README
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册