Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

运行dssm模型报AttributeError: 'module' object has no attribute 'square_error_cost'错误

Open zjgtan opened this issue 9 years ago • 3 comments

背景: 跑dssm模型regression代码,报 network_conf.py", line 279, cost = paddle.layer.square_error_cost(prediction, label) AttributeError: 'module' object has no attribute 'square_error_cost'

zjgtan avatar Oct 23 '17 02:10 zjgtan

很大原因是因为目前你的paddle 版本 太旧, 请更新你的paddle版本

NHZlX avatar Oct 23 '17 02:10 NHZlX

我有一样的问题。 用的还是 @luotao1 给的最新版本...

sandycs avatar Nov 10 '17 01:11 sandycs

和此issue中的问题一样:https://github.com/PaddlePaddle/Paddle/issues/5390

lcy-seso avatar Nov 10 '17 01:11 lcy-seso