Giter Site home page Giter Site logo

Comments (10)

jkjung-avt avatar jkjung-avt commented on May 18, 2024

Looking at:

  1. Error/warning messages thrown out by the UFF converter,
  2. The 'ssd/tmp_v?_coco.pbtxt' file

Find the layers/ops which are not supported or could not be converted by UFF converter and TensorRT builder. Then try to replace those layers with either supported nodes/ops or plugins.

from tensorrt_demos.

zychen2016 avatar zychen2016 commented on May 18, 2024

Thank you!

from tensorrt_demos.

zychen2016 avatar zychen2016 commented on May 18, 2024

I'm not familiar with C++ and CUDA, So maybe using tensorflow-tensorrt could be a consider solution?

from tensorrt_demos.

jkjung-avt avatar jkjung-avt commented on May 18, 2024

You could just use TensorRT's python API, as I have done (demo #3 and demo #4) in this repository.

from tensorrt_demos.

zychen2016 avatar zychen2016 commented on May 18, 2024

You could just use TensorRT's python API, as I have done (demo #3 and demo #4) in this repository.

But Like demo 3 ssd, also need libflattenconcat.so plugin written by C++ API.

from tensorrt_demos.

PythonImageDeveloper avatar PythonImageDeveloper commented on May 18, 2024

Hi @zychen2016
You prefer don't use TensorRT's python API because as not exist libflattenconcat.so in this API?

from tensorrt_demos.

zychen2016 avatar zychen2016 commented on May 18, 2024

Hi @zychen2016
You prefer don't use TensorRT's python API because as not exist libflattenconcat.so in this API?

@PythonImageDeveloper
Yes. It must written by user with C++ API.
But i'm not familiar with C++ API and CUDA.
In my understanding about TensorRT develop user guide, Now many nodes/ops are not supported by TensorRT . Even There are TensorRT's python API, But it seems that also need the plugins written by C++.

if use the model like ssdlite-mobilenetv2 or others,we must write plugins with C++ API.
if my understanding is wrong,Please tell me.
Thank you very much.

from tensorrt_demos.

jkjung-avt avatar jkjung-avt commented on May 18, 2024

Indeed, TensorRT plug-ins must be programmed with C++ now (for current released versions).

On the other hands, NVIDIA has open-sourced a lot of plug-ins: TensorRT/plugin/. So unless your are using some cutting-edge layers, most likely you don't need to program plug-ins by yourself.

from tensorrt_demos.

zychen2016 avatar zychen2016 commented on May 18, 2024

Thanks. I will have a try with other models like ssdlite-mbv2 and ssdlitmbv2-fpn.
Then try to fix out errors.

from tensorrt_demos.

PythonImageDeveloper avatar PythonImageDeveloper commented on May 18, 2024

@zychen2016
Can you solved the probelm?

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.