Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

face detection model failed in the CPU environment #105

Closed
tairenchen opened this issue Feb 12, 2021 · 3 comments
Closed

face detection model failed in the CPU environment #105

tairenchen opened this issue Feb 12, 2021 · 3 comments

Comments

@tairenchen
Copy link

Thank you for your good work with face detection.

It is working well in the GPU environment but failed in the CPU case.

System: Ubuntu 18.04.5 LTS"

Mxnet: mxnet-mkl==1.6.0

Error information: A lot of bounding boxes are detected on the test image

My changes: In the folder: "LFFD-A-Light-and-Fast-Face-Detector-for-Edge-Devices/face_detection/accuracy_evaluation", I changed the "ctx=mxnet.gpu(0)" to "ctx=mxnet.cpu(0)" in the file: "predict.py"

See attached the image for more information
test_result

@NgoJunHaoJason
Copy link

@tairenchen does it work if you use another version of mxnet, such as mxnet-cu100mkl==1.5.1?

@tairenchen
Copy link
Author

Hi @NgoJunHaoJason

Thank you for your reply.

I used the CPU version, so the version "mxnet-cu100mkl==1.5.1" you mentioned does not work. Because your version works for GPU environment, i.e.: CUDA available.

But I did give it a try, it gives me the error information as below:

image

@tairenchen
Copy link
Author

Okay, the problem is solve when I install

Mxnet: mxnet-mkl==1.5.0

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants