peiyunh / tiny

Tiny Face Detector, CVPR 2017
https://cs.cmu.edu/~peiyunh/tiny
Other
1.13k stars 319 forks source link

Problem when running tiny_face_detector.m #46

Closed XingyuXie closed 6 years ago

XingyuXie commented 7 years ago

Hi, Thanks for your sharing. But I met a problem when running the demo. I have compiled mex and matconvnet successfully, but when I ran tiny_face_detector.m, there is a problem as follow: `Undefined function or variable 'nms_mex'.

Error in nms (line 43) pick = nms_mex(double(boxes), double(overlap));

Error in tiny_face_detector (line 172) ridx = nms(bboxes(:,[1:4 end]), nms_thresh);`

How could I solve this problem?

XingyuXie commented 7 years ago

The problem is solved after I ran the following command: mex nms_mex.cpp; Thanks.