【问题标题】:Theano GPU Install failed nvccTheano GPU 安装失败 nvcc
【发布时间】:2016-05-23 19:51:29
【问题描述】:

安装 Winpython 并启动后

​​>
from theano import function, config, shared, sandbox
import theano.sandbox.cuda.basic_ops
import theano.tensor as T

我收到此错误消息:

ValueError: Theano nvcc.flags 仅支持参数/值对,它们之间没有空格。例如:不支持“--machine 64”,但支持“--machine=64”。请添加“=”符号。 nvcc.flags 值为 'D:_devs\Python01\WinPython-64\python-3.4.3.amd64\libs'

我的理论。配置文件是:

[nvcc]
fastmath = True
flags=-LD:\_devs\Python01\WinPython-64\python-3.4.3.amd64\libs
compiler_bindir=D:\_app\visualstudio13\VC\bin

有人有想法吗?

【问题讨论】:

    标签: python gpu theano


    【解决方案1】:

    找出问题并纠正文件语法:

    [nvcc]
    fastmath = True
    --flags=-LD:\_devs\Python01\WinPython-64\python-3.4.3.amd64\libs
    --compiler_bindir=D:\_app\visualstudio13\VC\bin\
    

    解决了。

    【讨论】:

      猜你喜欢
      • 2015-09-15
      • 1970-01-01
      • 1970-01-01
      • 2016-11-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-06
      • 1970-01-01
      相关资源
      最近更新 更多