Git Product home page Git Product logo

Comments (7)

SyGoing avatar SyGoing commented on July 24, 2024

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.

xjcvip007 avatar xjcvip007 commented on July 24, 2024

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.

SyGoing avatar SyGoing commented on July 24, 2024

@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.

xjcvip007 avatar xjcvip007 commented on July 24, 2024

I use your default config with MNN_FORWARD_CPU and thread=2~

from lffd-mnn.

dexception avatar dexception commented on July 24, 2024

@SyGoing
I am getting 90 ms for 4 threads on i7-7th generation, scale is 5.
Quite slow actually.

from lffd-mnn.

SyGoing avatar SyGoing commented on July 24, 2024

@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.

dexception avatar dexception commented on July 24, 2024

@SyGoing
I have tested it on PC and these are horrendous stats.

from lffd-mnn.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.