3

当我要导入时:

from nolearn.lasagne import NeuralNet

我总是收到这个错误

"cannot import name mse".

我的 Theano 版本是 0.7.0。

4

1 回答 1

3

我卸载了 nolearn 和千层面:

pip uninstall nolearn
pip uninstall lasagne

然后在命令行中运行以下命令:

pip install -r https://raw.githubusercontent.com/dnouri/nolearn/master/requirements.txt https://github.com/dnouri/nolearn/archive/master.zip#egg=nolearn

现在它起作用了。

于 2015-08-25T16:37:00.723 回答