我在 home/.theanorc 下配置 GPU 如下
bash-4.1$ cat .theanorc
[global]
floatX = float32
device = gpu0
[lib]
cnmem = 1
运行程序给出以下警告信息,如何解决这个问题?
python train.py
Using Theano backend.
WARNING (theano.sandbox.cuda): The cuda backend is deprecated and will be removed in the next release (v0.10). Please switch to the gpuarray backend. You can get more information about how to switch at this URL:
https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29
ERROR (theano.sandbox.cuda): nvcc compiler not found on $PATH. Check your nvcc installation and try again.