Giter VIP home page Giter VIP logo

Comments (21)

yzhsjtu avatar yzhsjtu commented on September 23, 2024

The caffe_.mexw64 was downloaded from dropbox link.

from faster_rcnn.

ShaoqingRen avatar ShaoqingRen commented on September 23, 2024

Please check whether system environments are compatible with the downloaded mex (including cuda 6.5, vs2013, windows 7/8).

from faster_rcnn.

grib0ed0v avatar grib0ed0v commented on September 23, 2024

Almost the same thing for me too (but for Ubuntu OS):

Mex file entry point is missing. Please check the (case-sensitive)
spelling of mexFunction (for C MEX-files), or the (case-insensitive)
spelling of MEXFUNCTION (for FORTRAN MEX-files).
Invalid MEX-file '/home/agruzdev/git/faster_rcnn/external/caffe/matlab/+caffe/private/caffe_.mexa64':

Error in caffe.get_net (line 27)
hNet = caffe_('get_net', model_file, phase_name);

Error in caffe.Net (line 33)
self = caffe.get_net(varargin{:});

Error in script_faster_rcnn_demo (line 33)
rpn_net = caffe.Net(proposal_detection_model.proposal_net_def, 'test');

The caffe_.mexa64 was build from the latest version of caffe for faster r-cnn.

from faster_rcnn.

ShaoqingRen avatar ShaoqingRen commented on September 23, 2024

@AlexGruzdev For Ubuntu, the compliing phase is the same as official Caffe.

from faster_rcnn.

grib0ed0v avatar grib0ed0v commented on September 23, 2024

@ShaoqingRen I didn't download caffe_.mexa64 file, I did compilation according official Caffe instructions.

from faster_rcnn.

smichalowski avatar smichalowski commented on September 23, 2024

@ShaoqingRen I have same problem as @AlexGruzdev...

configured using cmake, after trying to load caffe_:
using debian jessie, matlab R2014a:

caffe_
Mex file entry point is missing. Please check the (case-sensitive)
spelling of mexFunction (for C MEX-files), or the (case-insensitive)
spelling of MEXFUNCTION (for FORTRAN MEX-files).
Invalid MEX-file '/home/smichalowski/faster_rcnn/external/caffe/matlab/+caffe/private/caffe_.mexa64':

from faster_rcnn.

rbgirshick avatar rbgirshick commented on September 23, 2024

I haven't been able to reproduce this problem on Linux. I'm using matlab R2014a, gcc 4.8.4, ubuntu 14.04.3.

@AlexGruzdev, @smichalowski When you cloned the faster_rcnn repo, did you use git clone --recursive? If not, please try that to make sure that you're on the correct commit for the caffe submodule (d1d96fe).

from faster_rcnn.

smichalowski avatar smichalowski commented on September 23, 2024

hi @rbgirshick

Yes, I cloned faster_rcnn with --recursive option.
Today Ive tried ubuntu 15.04 + gcc 4.7 + matlab R2014a - same error.
caffe was built using cmake, I'll try again with standard make and Makefile.config

from faster_rcnn.

rbgirshick avatar rbgirshick commented on September 23, 2024

The issue could be with cmake. I used make and this Makefile.config.

from faster_rcnn.

rbgirshick avatar rbgirshick commented on September 23, 2024

The issue is most likely that the cmake build is not defining BUILD_MEX_INTERFACE. Makefile was modified to add -DBUILD_MEX_INTERFACE to the CXXFLAGS.

@ShaoqingRen, was there a reason for adding the BUILD_MEX_INTERFACE guard? Perhaps it should just be removed from caffe_.cpp.

from faster_rcnn.

ShaoqingRen avatar ShaoqingRen commented on September 23, 2024

@rbgirshick BUILD_MEX_INTERFACE is used in VS solution, I'll make BUILD_MEX_INTERFACE only affect in Windows.

from faster_rcnn.

ShaoqingRen avatar ShaoqingRen commented on September 23, 2024

@AlexGruzdev @smichalowski The BUILD_MEX_INTERFACE only functions on Windows now. Please have a try with the new version.

from faster_rcnn.

smichalowski avatar smichalowski commented on September 23, 2024

yes, compiled without errors. thank you

from faster_rcnn.

grib0ed0v avatar grib0ed0v commented on September 23, 2024

With your last version of caffe I got the following:

Building with 'g++'.
/home/agruzdev/git/faster_rcnn/external/caffe/matlab/+caffe/private/caffe_.cpp:19:28: fatal error: gpu/mxGPUArray.h: No such file or directory
compilation terminated.

make[2]: *** [matlab/+caffe/private/caffe_.mexa64] Error 255
make[1]: *** [matlab/CMakeFiles/matlab.dir/all] Error 2
make: *** [all] Error 2

from faster_rcnn.

rbgirshick avatar rbgirshick commented on September 23, 2024

@AlexGruzdev - please use the Makefile build; the cmake build is unsupported in this fork. We updated the Makefile to add the following include path and lib for compiling the matlab wrapper:
MATLAB_INCLUDE := -I$(MATLAB_DIR)/toolbox/distcomp/gpu/extern/include
MATLAB_LIBS := -lmwgpu
If you wish to use cmake, you'll need to incorporate these additions into the cmake build.

from faster_rcnn.

grib0ed0v avatar grib0ed0v commented on September 23, 2024

@ShaoqingRen @rbgirshick Thank you, guys!
Compilation without errors.

from faster_rcnn.

rbgirshick avatar rbgirshick commented on September 23, 2024

Great. Closing this issue.

from faster_rcnn.

empty16 avatar empty16 commented on September 23, 2024

thanks for you guys

from faster_rcnn.

jacobunderlinebenseal avatar jacobunderlinebenseal commented on September 23, 2024

there is a cuda7.5 version in the rfcn github, i download it and set tu cpu mode and it works...

from faster_rcnn.

mustansarfiaz avatar mustansarfiaz commented on September 23, 2024

Please guide me.

My detailed problem link is here.

from faster_rcnn.

derekwong66 avatar derekwong66 commented on September 23, 2024

how to acquire caffe_.mexa64 under LINUX?

from faster_rcnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.