提交 a1344ac1 编写于 作者: R root

Merge remote-tracking branch 'upstream/master'

......@@ -13,7 +13,7 @@ git clone https://github.com/PaddlePaddle/PALM.git
- Python >= 2.7
- cuda >= 9.0
- cudnn >= 7.0
- PaddlePaddle >= 1.5.0 (请参考[安装指南](http://www.paddlepaddle.org/#quick-start)进行安装)
- PaddlePaddle >= 1.6 (请参考[安装指南](http://www.paddlepaddle.org/#quick-start)进行安装)
## 目录结构
......
......@@ -18,6 +18,7 @@ from __future__ import division
from __future__ import print_function
from functools import partial
from functools import reduce
import numpy as np
import paddle.fluid as fluid
......
......@@ -290,7 +290,7 @@ class PDConfig(object):
if name in self.yaml_config:
return self.yaml_config[name]
raise Warning("The argument %s is not defined." % name)
raise AttributeError("The argument %s is not defined." % name)
def Print(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册