【发布时间】:2016-02-03 14:07:51
【问题描述】:
>>> import numpy # OK!
>>> import scipy # OK!
>>> import theano # warning
WARNING (theano.tensor.blas): Failed to import scipy.linalg.blas, and Theano
flag blas.ldflags is empty. Falling back on slower implementations for
dot(matrix, vector), dot(vector, matrix) and dot(vector, vector) (DLL load
failed: Belirtilen modül bulunamadı.)
>>>
当导入 theano 时,python 会给出这个警告。 我根据这个链接设置了theano。 http://deeplearning.net/software/theano/install_windows.html
Numpy 和 Scipy 导入都可以。但我被 BLAS 困住了。?
我从 github 克隆到我的计算机 OpenBLAS。 我如何将 blas 添加到环境变量(“路径”)?
【问题讨论】:
-
AFAIK 是的,您需要安装 OpenBLAS .-。官网上有个link for the binaries for windows
-
安装到底是什么意思?我下载了它,但是我如何识别到python?
-
让 Theano 在 Windows 上的 Anaconda 中运行可能更简单。您甚至可以使用他们的 MKL 扩展来获得快速的矩阵运算,但它是一种商业产品(对学生免费)。
-
感谢@DanielRenshaw 的帮助,它与 anaconda 合作。
-
但它给出了另一个警告
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
标签: python-3.x theano deep-learning openblas