ZheC / Realtime_Multi-Person_Pose_Estimation

Code repo for realtime multi-person pose estimation in CVPR'17 (Oral)
Other
5.08k stars 1.37k forks source link

Error while running getANNO file #183

Open rohanchidrewar05 opened 6 years ago

rohanchidrewar05 commented 6 years ago

When I try to rin getANNO file I get following error in OCTAVE, how can i solve this? I tried adding path of getANNO.cpp and gason.cpp in gason.m but still the error persists.

`mkoctfile: unrecognized argument CXXFLAGS= -std=c++11 -Wall ans = 1 Loading and preparing annotations... warning: mkoctfile exited with failure status warning: called from mkoctfile at line 171 column 5 mex at line 29 column 18 gason at line 21 column 4 CocoApi at line 61 column 18 getANNO at line 19 column 9 g++: error: gasonMex.cpp: No such file or directory g++: fatal error: no input files compilation terminated. warning: mkoctfile exited with failure status error: 'gasonMex' undefined near line 52 column 7 error: called from gason at line 52 column 5 CocoApi at line 61 column 18 getANNO at line 19 column 9

MartFire commented 6 years ago

I had the same problem. I did the following In gason.m, before the line

out = gasonMex( 'convert', in );

I added

setenv('CXXFLAGS','-std=c++11 -Wall'); mex('-largeArrayDims',... 'dataset/COCO/coco/MatlabAPI/private/gasonMex.cpp','dataset/COCO/coco/common/gason.cpp',... '-Idataset/COCO/coco/common/common/');

I also copied the file gason.h in the directory MatlabAPI/private because gasonmex.cpp need it

Now when I run getANNO I don't have any error, only 2 warnings about conversion and comparison. And then Octave CRASHES before the script finishes :( I don't know why yet.