bab*_*eyh 6 python-3.x theano deep-learning openblas
>>> 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?.)
>>>
Run Code Online (Sandbox Code Playgroud)
导入theano时,python会发出此警告.我按照这个链接设置了theano.http://deeplearning.net/software/theano/install_windows.html
Numpy和Scipy进口都可以.但是我坚持使用BLAS.
我从github克隆到我的电脑OpenBLAS.我如何将blas添加到环境变量("path")?
小智 1
显然你有来自 scipy.linalg.blas 的错误,尝试从\n安装软件包,要安装 scipy 请确保你已经安装
\n\n\n\n\nnumpy+mkl
\n
您可以在http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy上找到它
\n\n您提到的另一个问题是未检测到 g++ 编译器,theano 需要 g++(Linux 和 Windows)才能编译生成的 C 代码。\n(只需 google 一下深度学习 theano 设置可能会有所帮助)。
\n\n安装MinGW的教程部分:
\n\nsh /postinstall/pi.sh,您刚刚安装 MinGW 的方向应该是C:/Program/mingw-w64/mingw64(取决于安装方向)| 归档时间: |
|
| 查看次数: |
2088 次 |
| 最近记录: |