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

关于CPU占用问题 #34

Open
ghost opened this issue Oct 9, 2019 · 2 comments
Open

关于CPU占用问题 #34

ghost opened this issue Oct 9, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 9, 2019

很感谢你共享源码供大家学习,我成功的编译了你的代码,人脸的识别速度非常快。不过,我发现在windows上CPU占用非常高,我这里有90%。请问关于CPU占用优化可以从哪里入手?

@moli232777144
Copy link
Owner

ncnn不是专门在win端的,set_num_threads设置2看看,是不是默认的线程太大

@ghost
Copy link
Author

ghost commented Oct 9, 2019

谢谢你的回答,根据你的提示,CPU占用大大降低了,只有10%左右,非常感谢。

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

1 participant