这系列博客,仅仅记录在学习神经网络过程中的一些问题。
问题一:运行theano时报Warning: Failed to import scipy.linalg.blas (DLL load failed)的问题:
解决:
从google上找到的解决方案:
Apparently, Theano is trying to access the bindings for BLAS through
scipy, and the configuration variable "blas.ldflags" is empty, which
means Theano was not able to access BLAS directly.
I'm not sure what is needed exactly, but you may need to add the
location of the blass DLL to the %PATH% environment variable, and to
manually specify the blas.ldflags configuration flag for theano, for
instance create a .theanorc.txt file in your home directory, with
content that looks like:
[blas]
ldflags = -LX:\\YYY\\YYY -lopenblas
where X:\\YYY\\YYY is the path containing libopenblas.dll 。
我用的不是openblas,直接用的blas。