error in gason mask rcnn
Show older comments
Dear Sir,
I got error when run the code of mask rcnn.
the error like below
but all the step I was follow correctly.
Unrecognized function or variable 'gasonMex'.
Error in gason (line 53)
out = gasonMex( 'convert', in );
Error in CocoApi (line 61)
coco.data=gason(fileread(annFile)); end
Error in unpackAnnotations (line 7)
coco = CocoApi(annotationFile);
7 Comments
Walter Roberson
on 9 May 2023
The distribution there provides .mex* files for MacOS Intel, and for Linux. For Windows you would probably have to mex gasonMex.cpp and possibly maskApiMex.c as well. (I do not know if the package supports Windows; I do not see any remark indicating it does not support it.)
mohd akmal masud
on 9 May 2023
Edited: mohd akmal masud
on 9 May 2023
Walter Roberson
on 10 May 2023
If you are using Windows, you will need to compile the files. To do that you could try changing your current directory to coco/MatlabApi, and then giving the commands
mex gasonMex.cpp
mex maskApiMex.c
If both of those work, then add the coco/MatlabApi folder to your MATLAB path using pathtool.
mohd akmal masud
on 10 May 2023
Edited: mohd akmal masud
on 10 May 2023
mohd akmal masud
on 10 May 2023
Walter Roberson
on 10 May 2023
https://github.com/ZheC/Realtime_Multi-Person_Pose_Estimation/issues/110 has some assistance on that.
mohd akmal masud
on 10 May 2023
Edited: mohd akmal masud
on 10 May 2023
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing and Computer Vision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!