Windows环境下编译 matconvnet及其常见问题处理

本文地址:https://blog.csdn.net/shanglianlm/article/details/79707235
matconvnet下载:http://www.vlfeat.org/matconvnet/
C:\NVIDIA\DisplayDriver\390.77\Win8_Win7_64\International
C:\Users\mingo\AppData\Local\Temp\CUDA

#1 CL.EXE not found in PATH. Trying to guess out of mex setup#
警告: CL.EXE not found in PATH. Trying to guess out of mex setup.

In vl_compilenn>check_clpath (line 589)
In vl_compilenn (line 413)
错误使用 vl_compilenn>check_clpath (line 595)
Unable to find cl.exe

出错 vl_compilenn (line 413)
cl_path = fileparts(check_clpath()); % check whether cl.exe in path

解决:把C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin加入环境变量Path中。

#2 #

#3 未定义函数或变量 ‘nms_mex’#

出错 nms (line 43)
pick = nms_mex(double(boxes), double(overlap));

出错 tiny_face_detector (line 172)
ridx = nms(bboxes(:,[1:4 end]), nms_thresh);

解决:把toolbox/num目录下nms_mex.mexw64改为nms_mex.mex即可

#4 未定义函数或变量 ‘export_fig’#
出错 tiny_face_detector (line 197) export_fig(’-dpng’, ‘-native’, ‘-opengl’, ‘-transparent’, output_path, ‘-r300’);

解决:下载export_fig包解压即可,下载地址:https://github.com/altmany/export_fig/tree/2763b786d28e09da3d8d82f45517a6fbd09b547e

评论 15
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

mingo_敏

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值