Giter VIP home page Giter VIP logo

Comments (4)

lu-wang-g avatar lu-wang-g commented on July 19, 2024

@LeopoldACC You can try the following ways to optimize the performance.
(1) Use a model with smaller input size. The one you are using is 512x1024, which is pretty large.
(2) Config Interpreter with multithread, see the example here
(3) Use GPU delegate. See the instruction here

Hope it helps.

from tflite-support.

LeopoldACC avatar LeopoldACC commented on July 19, 2024

In my task, the segmentation object is slender(It's one or two pixels wide at 1920 * 1080 resolution). If I continue down sampling, the information of this object may be lost, and the accuracy will inevitably decline seriously. If I cut 256 * 256 blocks from 1024 * 512, I need to execute invoke () 8 times for an image. This task is really difficult for me to achieve real-time and high precision.But thank you a lot for your timely feedback!

from tflite-support.

lu-wang-g avatar lu-wang-g commented on July 19, 2024

Usually the segmentation model will be applied on a smaller size of image such as 316x316 and then upscale the output mask to the original image size. In that way, you'll get a much faster inference.

from tflite-support.

lu-wang-g avatar lu-wang-g commented on July 19, 2024

Closing this issue. Feel free to reopen it if you have other questions.

from tflite-support.

Related Issues (20)

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.