Theano配置GPU加速,提示'module' object has no attribute '__file__'
Using gpu device 0: GeForce GT 425M
Traceback (most recent call last):
................省略.................
File "E:\Anaconda3\lib\site-packages\theano\sandbox\cuda\type.py", line 433, in c_header_dirs
ret = [os.path.dirname(cuda_ndarray.__file__)]
AttributeError: ('The following error happened while compiling the node', GpuCAReduce{add}{1}(<CudaNdarrayType(float32, vector)>), '\n', "'module' object has no attribute '__file__'")
解释器提示在cuda.type.py中第433行的c_header_dirs方法中,调用的cuda_ndarray.__file__中不存在属性__file__。
各位大神,该如何解决,我看过了cuda_ndarray.cu中的确没有显示的写出__file__,但是哪个属性是不是继承的父类的啊?
我用的是python3.4,在配置Theano的GPU加速,还没配置好,配置了1天多了。显卡不是很好,没找到合适的驱动,就装了cuda7.0,vs2010已经装好了,环境变量根据网上的教程配置的,但是有好多都不一样,所以也不知道配置的对不对?但是目前来看,是编译的问题,不是配置的问题。
在线求解啊。。。。。。