dannyblueliu / YOLO-Face-detection

Other
173 stars 89 forks source link

Can't detect face #2

Open kidapu opened 7 years ago

kidapu commented 7 years ago

In my enviroment, I can exec following command successfully, and opening window which displays web cam view, but it can't detect face...

sudo make
./darknet yolo demo cfg/yolo-face.cfg yolo-face_final.weights

My enviroment is below.

dannyblueliu commented 7 years ago

I used OpenCV 3.1. I am not sure if that is the problem.

kidapu commented 7 years ago

Mmm... I changed OpenCV version from 2.4.9.1 to 3.1, but it can't detect face... It only displays web cam view...

dannyblueliu commented 7 years ago

That is weird. It worked just fine for me.

Parth-Goel commented 7 years ago

I was facing same problem. I have set CuDNN=0 in make file and remake again. It works fine for me. But i didn't get the reason, why CuDNN=1 is not working?

YaoQ commented 7 years ago

I got same problem too. It only displays the webcam view, but it can't show face detection. And my environment is:

YaoQ commented 7 years ago

Then I compile the source without GPU and Cudnn, then it can detect face. So yolov2 only supports CUDA8.0, right?

kidapu commented 7 years ago

@Parth-Goel Thanks! I can work fine with setting CuDNN=0! But It's weird why CuDNN=1 is not working...

miamor commented 7 years ago

This problem hasn't been solved, has it? Since re-compiling with cudnn=0 will slow down the process, and it doesn't seem to be "real-time" anymore :(

mmderakhshani commented 7 years ago

Did you calculate the accuracy on validation data?

dannyblueliu commented 7 years ago

No I have not.