gpt4 book ai didi

python-2.7 - nolearn 0.5 与 lasagne 0.1 或 0.2 不兼容?

转载 作者:行者123 更新时间:2023-12-01 13:50:24 25 4
gpt4 key购买 nike

当我想导入时:

from nolearn.lasagne import NeuralNet

我总是遇到这个错误

"cannot import name mse".

我的 Theano 版本是 0.7.0。

最佳答案

我卸载了 nolearn 和 lasagne:

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

现在可以了。

关于python-2.7 - nolearn 0.5 与 lasagne 0.1 或 0.2 不兼容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32208646/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com