Comments (7)
Hello,@xjcvip007 , when the input size is 320x240, num_thread=4, the inference time on PC is about 33.4731 ms . If you want to know the mobile time cost, you can test it by yourself.
from lffd-mnn.
Thank for your reply, I test it on iphone 7p with default size (640*480) and default config, its inference time is almost 100ms, maybe a little slow.
from lffd-mnn.
@xjcvip007, hello ,which scale_num=5 or 8? ,Actually, you can set the input size 320*240 on your phone! the Inference time of LFFD with the input shape of 320x240 is about 20ms on the Qualcomm Snapdragon 632 CPU when I test it with ncnn. and mnn may be faster.
And , are you sure you have set the config.type =MNN_FORWARD_METAL; the num_thread=?
from lffd-mnn.
I use your default config with MNN_FORWARD_CPU and thread=2~
from lffd-mnn.
@SyGoing
I am getting 90 ms for 4 threads on i7-7th generation, scale is 5.
Quite slow actually.
from lffd-mnn.
@dexception ,hello you test it on iphone 7? scale_num is 5? I suggest you set the input_resized size 320x240, In that way ,the time maybe faster, and the precision is also high, I test it on android with that set, about 20ms
from lffd-mnn.
@SyGoing
I have tested it on PC and these are horrendous stats.
from lffd-mnn.
Related Issues (14)
- When is the TensorRT demo open source?
- head detection 可以转一下MNN么
- 编译成功,测试报错 HOT 1
- mac下编译成功,测试报错
- 把后端改成OpenCL,编译报错
- Create interpreter failed when use the test.cpp HOT 1
- Compiled test.cpp error HOT 6
- How can convert to onnx from original repo HOT 1
- pedestrain model to mnn HOT 1
- Segmentation fault (core dumped)
- WINDOWS平台上的问题 HOT 4
- Note out(注释掉) the line 57(predict_score = mxnet.symbol.slice_axis(predict_score, axis=1, begin=0, end=1)
- 什么时候开源tensorrt c++ LFFD版本代码?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lffd-mnn.