Compiling MatConvNet on Windows

戏子无情 提交于 2019-12-11 03:22:26

问题


I am trying to compile MatConvNet on Windows 8.1. Since it seems that I need to use the "Makefile" to do that, I downloaded GNUWin Make, which allows to use the make command on Windows. The error I get is the following one:

process_begin: CreateProcess(NULL, C:\Program Files\MATLAB\R2014a\bin\mexext, ...) failed.

while the file C:\Program Files\MATLAB\R2014a\bin\mexext.bat exists.

Do you have any clue on that please?


回答1:


I also tried to compile MatConvNet on Windows with MinGW and I faced the same error. Instead, you can try to compile MatConvNet using Visual Studio. It is explained here: http://blog.csdn.net/zxd675816777/article/details/40075209

With the translation from Chrome browser, it is understandable :) Thanks to this tutorial, I successfully generated the 4 mexw64 files needed by MatConvNet.




回答2:


in the new beta-8 we have added new function vl_compilenn which supports compilation on Windows... (no need for Make, plus we've fixed the issues related to msvc compiler). So far it seems to work also for the GPU code...

You can find detail here. Hope that this would help :)




回答3:


You need to compile it using Visual Studio rather than GNU compiler on Windows. First set up Matlab mex -setup C++ for Visual Studio 2013/2015 and then compile using vl_compilenn function. If you want to compile it for GPU then you need to install CUDA and cudnn as well. Then you can use vl_compilenn('enableGpu', true) to compile it for Windows with GPU support.



来源:https://stackoverflow.com/questions/26883696/compiling-matconvnet-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!