caffe 安装时提示cudnn.hpp(114): too few arguments in function call
2017-06-22 11:25
585 查看
问:
Try to build Caffe with GPU and MATLAB support.
However, when I use build_win.cmd to install, It can’t build and with the error :
“D:\caffe-windows\caffe-windows\scripts\build\ALL_BUILD.vcxproj” (default target) (1) ->
“D:\caffe-windows\caffe-windows\scripts\build\src\caffe\caffe.vcxproj” (default target) (3) ->
(CustomBuild target) ->
D:/caffe-windows/caffe-windows/include\caffe/util/cudnn.hpp(114): error : too few arguments in function call [D:\caff
e-windows\caffe-windows\scripts\build\src\caffe\caffe.vcxproj]
Please Help.
PS:
I use MATLAB R2016a, VS2015 and CUDA 8.0 with CuDNN 6.0.
答:
This has been fixed just recently (March 29 2017), pull the latest source commits.
The problem is due to CuDNN 6.0 adding the extra “type” parameter.
解决方法:
将cudnn-8.0-windows10-x64-v6.0.zip 换成cudnn-8.0-windows10-x64-v5.1.zip 。即将CuDNN6.0换成CuDNN5.1.
参考文献:
https://groups.google.com/forum/#!topic/caffe-users/o9683jAqrnY
Try to build Caffe with GPU and MATLAB support.
However, when I use build_win.cmd to install, It can’t build and with the error :
“D:\caffe-windows\caffe-windows\scripts\build\ALL_BUILD.vcxproj” (default target) (1) ->
“D:\caffe-windows\caffe-windows\scripts\build\src\caffe\caffe.vcxproj” (default target) (3) ->
(CustomBuild target) ->
D:/caffe-windows/caffe-windows/include\caffe/util/cudnn.hpp(114): error : too few arguments in function call [D:\caff
e-windows\caffe-windows\scripts\build\src\caffe\caffe.vcxproj]
205 Warning(s) 1 Error(s)
Please Help.
PS:
I use MATLAB R2016a, VS2015 and CUDA 8.0 with CuDNN 6.0.
答:
This has been fixed just recently (March 29 2017), pull the latest source commits.
The problem is due to CuDNN 6.0 adding the extra “type” parameter.
解决方法:
将cudnn-8.0-windows10-x64-v6.0.zip 换成cudnn-8.0-windows10-x64-v5.1.zip 。即将CuDNN6.0换成CuDNN5.1.
参考文献:
https://groups.google.com/forum/#!topic/caffe-users/o9683jAqrnY
相关文章推荐
- caffe 与cudnn版本不匹配 ./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function
- cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor
- IAR编译出错:Error[Pe165]: too few arguments in function call
- Xcode导入runtime框架函数参数没有提示或Too many arguments to function call, expected 0, have 2错误
- iOS objc_msgSend iOS too many arguments in function call 报错解决方案
- error: #29: expected an expression,error: #140: too many arguments in function call
- uvc_v4l2_ioctl.h 提示出错 too few arguments to function ‘v4l_printk_ioctl’
- caffe安装错误总结(cuda,cudnn,ffmpeg错误,cudnn.hpp:8:34)
- Discuz7.2 BUG :"Warning: sprintf() [function.sprintf]: Too few arguments in xxxxxxxx/include/discuzcode.func.php on line 369"
- bug:error:too few arguments to function ‘fopen’
- 安装PHP sphinx扩展 sphinx-1.1.0/sphinx.c:105:2: error: too few arguments 错误
- 用cvSaveImage的时候,经常报错:error C2198: 'cvSaveImage' : too few arguments for call
- objc_msgSend()报错Too many arguments to function call ,expected 0,have3
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- Too many arguments to function call
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- 使用SDWebImage时 报错Too many arguments to function call, expected 0, have *
- vmware tools 安装不上,报错/tmp/modconfig-IgPiI7/vmhgfs-only/filesystem.c:685: error: too few arguments to