GithubHelp home page GithubHelp logo

Comments (9)

jkjung-avt avatar jkjung-avt commented on July 25, 2024

Which demo are you referring to? Is it the SSD one?

In addition, please also specify which version of JetPack and TensorFlow you are using.

from tensorrt_demos.

IbrahimBond avatar IbrahimBond commented on July 25, 2024

i am referring to the SSD one. i am using tensorflow 1.14 and and jetpack 4.2 with tensorrt 5.

i have tried the trt_ssd_async.py for inference and managed to get 25 fps, but i think this is slow for an optimized model on jetson tx2.

from tensorrt_demos.

jkjung-avt avatar jkjung-avt commented on July 25, 2024

It indeed seems too slow. Unfortunately, I don't have a TX2 to verify that currently.

Did you notice any suspicious warnings or errors when you built the TensorRT engine and ran inferencing?

from tensorrt_demos.

IbrahimBond avatar IbrahimBond commented on July 25, 2024

it seems like the conversion went smoothly and it does improve performance by almost 50%.
i have tested the model without optimizing it with tensorrt and it ran on 12-14 fps.

i am really disappointed with the mobilenetv2 model. i thought it would do better than yolov3-tiny.
i am currently achieving 30 fps on yolov-tiny(416*416) which is better than an optimized mobilenetv2(300 * 300) model.

do you have any idea why the mobilenetv2 model would not perform similarly to the numbers published by tensorflow?

i have also tested mobilenetv3 and it performs similar to mobilenetv2 (14 fps)

from tensorrt_demos.

jkjung-avt avatar jkjung-avt commented on July 25, 2024

Please check out this discussion on StackOverflow: https://stackoverflow.com/questions/50385735/why-the-mobilenetv2-is-faster-than-mobilenetv1-only-at-mobile-device

from tensorrt_demos.

IbrahimBond avatar IbrahimBond commented on July 25, 2024

thank you, this is very informative. then maybe in my case i am better off using the ssd inception model. what do you think?

from tensorrt_demos.

jkjung-avt avatar jkjung-avt commented on July 25, 2024

I think it's worth digging out why FPS on your TX2 is not better than my test result on the Nano.

  1. Have you tested both USB webcam input and image/video file input? Do you observe big difference of FPS in these 2 cases?

  2. If it doesn't trouble you too much, could you profile the code on TX2 and provide the log to me? I might be able to spot problems by looking at the profiler output. Reference: https://jkjung-avt.github.io/optimize-mtcnn/
    For example, run trt_ssd.py with the following command for say 60 seconds. Then copy and paste the profiler output.
    $ python3 -m cProfile -s cumtime trt_trt_ssd.py --model ssd_mobilenet_v1_coco \ --image \ --filename test.jpg

from tensorrt_demos.

IbrahimBond avatar IbrahimBond commented on July 25, 2024

I am off until monday, ill get back to you then

from tensorrt_demos.

jkjung-avt avatar jkjung-avt commented on July 25, 2024

Any update? Otherwise, I'll close this issue due to inactivity.

from tensorrt_demos.

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.