-
Notifications
You must be signed in to change notification settings - Fork 42
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
关于opt.num_threads = 4的问题 #5
Comments
cpu占用情况我当时确实没考虑,我当时主要的是 速度问题,因为硬件资源足够,不好意思,没法帮到您 |
直接把工程导入编译apk后进修图片识别的是总是保持,看了一下是result 返回 length==0,是不是必须要按博客自己编译libncnn.a 后再把它替换工程中的libncnn.a 再重新打包才可以? |
那是肯定的,因为数据集不一样,最后其实ncnn编译打包的东西也不一样 |
我这面遇到同样的问题,每次load内存都会涨。降不下来,退出进去多次后,内存居高不下直接aar。 |
你好
在MobileNetssd.cpp文件中
opt.num_threads = 4; //线程 这里可以修改
你有没有尝试过修改为1,2,4看看cpu占用率的情况?
我这里无论怎么修改CPU占用率都是60-70%左右,
但是我想设置为1,把CPU占用率降到20%左右。
The text was updated successfully, but these errors were encountered: