首页 > 系统服务 > 详细

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

时间:2016-08-22 21:27:46      阅读:393      评论: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)
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!