其实Theano下配置GPU和cudnn很简单,也很方便。
就只要cd到/home当前用户的文件夹,其实也就是终端刚打开时的路径。
gedit ~/.theanorc
添加下面内容就可以:
[global]
floatX=float32
device=gpu
[nvcc]
fastmath=True
So easy!!!
其实Theano下配置GPU和cudnn很简单,也很方便。
就只要cd到/home当前用户的文件夹,其实也就是终端刚打开时的路径。
gedit ~/.theanorc
添加下面内容就可以:
[global]
floatX=float32
device=gpu
[nvcc]
fastmath=True
So easy!!!