【发布时间】:2015-12-15 08:15:23
【问题描述】:
我在windows 64bit上,我已经安装了anaconda,并设法用python 2.7创建了一个环境
我有 numpy、pylearn2、theano,每个包都构建正确
我已经能够导入所有这些模块,但是当我尝试完成模型时,我收到了一些非常深奥的消息,例如
ImportError: Could not import pylearn2.models.softmax_regression but could import pylearn2.models. Original exception: No module named dnn
然后我试图在安装中实际找到包,但是在cuda文件夹中,没有名为dnn的模块。看github,应该是有的。
为什么 theano 缺少模块?我使用 conda install theano 安装,它给出了一些建议,我设法选择了正确的。
我已经卸载并安装了很多次theano,我可以导入它,但我永远无法获得正确的模块。
出了什么问题?
【问题讨论】:
-
该错误与 PyLearn2 相关。是什么让您认为 Theano 有问题?
-
这是因为当我实际尝试导入 pylearn2.models.softmax_regression 时,出现以下错误“from theano.sandbox.cuda.dnn import dnn_available, dnn_pool ImportError: No module named dnn”模块甚至没有实际存在于文件夹中。