码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu14.04+CUDA7.5+MATLA2015a+cuDNN7.0+MatConv1.0-beta20

时间:2016-08-22 21:29:49      阅读:205      评论:0      收藏:0      [点我收藏+]

标签:

CUDA7.5,cuDNN7.0,MATLAB2015a已经配置完毕。

官网下载MatConv:http://www.vlfeat.org/matconvnet/

解压到自定义目录,启动MATLAB

>>cd ~/deb/matconvnet-1.0-beta20/
>> run matlab/vl_setupnn
>> vl_compilenn(verbose,1) %Compiling with CPU
>> vl_compilenn(enableGpu, true, ...
               cudaRoot, /usr/local/cuda/, ...
               cudaMethod, nvcc, ...
               enableCudnn, true, ...
               cudnnRoot, /usr/local/cuda/lib64) 

中间出现过如下问题:

Operands to the || and && operators must be convertible to logical scalar values.
Error in vl_compilenn (line 394)
if opts.enableGpu && opts.enableCudnn

原因:

The thing about && is that it can operate only on scalars, whereas & can operate on arrays as well. Should change the && to & to make it work .

 

Ubuntu14.04+CUDA7.5+MATLA2015a+cuDNN7.0+MatConv1.0-beta20

标签:

原文地址:http://www.cnblogs.com/chanyn/p/5796802.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!