Installing theano on Windows 8 with GPU enabled

后端 未结 7 1245
悲&欢浪女
悲&欢浪女 2020-12-02 13:52

I understand that the Theano support for Windows 8.1 is at experimental stage only but I wonder if anyone had any luck with resolving my issues. Depending on my config, I ge

7条回答
  •  攒了一身酷
    2020-12-02 14:17

    Here are my simple steps for installing theano on a 64-bit windows 10 machine. It's tested on the code listed here

    (All installation are with default installation path)

    • install anaconda python 3.x distribution (it already includes numpy, scipy, matlibplot, etc.)
    • run 'conda install mingw libpython' in command-line
    • install theano by downloading it from the official website and do `python setup.py install'
    • install lastest CUDA toolkit for 64-bit windows 10 (now is 7.5)
    • install visual studio 2013 (free for windows 10)
    • create .theanorc.txt file under %USERPROFILE% path and here are the content in the .theanorc.txt file to run theano with GPU

    [global]

    floatX = float32

    device = gpu

    [nvcc]

    fastmath = True

    compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe

    [cuda]

    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5


提交回复
热议问题