GithubHelp home page GithubHelp logo

Comments (4)

tnl-mid avatar tnl-mid commented on July 25, 2024 1

I had the same issue, fixed it by replacing
builder.create_network(EXPLICIT_BATCH)
with:
builder.create_network()

.. in onnx_to_tensorrt.py. Detection works fine now. The EXPLICIT_BATCH argument is specific for TensorRT7, I think.
I also had the message for 'Layer of type yolo not supported', but it all seemed to work nonetheless.

from tensorrt_demos.

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

Sorry, this is my bad. I modified the code to support TensorRT 7 (for x86_64) a couple of days ago. I did not do enough testing to make sure the modification does not break TensorRT 5 & 6. I just pushed a fix into the repository.

Thanks to Michael-Dub for quick answering of the question.

from tensorrt_demos.

omeralierdemir avatar omeralierdemir commented on July 25, 2024

thanks your help. Michael-Dub advise worked. I have few quastions ? My system tensorRT 6.0 on jetson tx2 and I try to convert my onnx_model to tensorRT C++ API but I couldn't. Do you have any idea for this quastions? I tried this repo https://github.com/onnx/onnx-tensorrt but tx2 not suporrted tensorRT 7.0. https://devtalk.nvidia.com/default/topic/1069634/how-to-upgrade-tensorrt-to-7-0-version/?offset=7

from tensorrt_demos.

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

@omeralierdemir Would you like to inference (do object detection) with TensorRT C++ API, or to convert a YOLOv3 model to TensorRT engine with C++? If it's the former case, you could use the TensorRT engine created by my python scripts, and:

I think a C++ implementation could run significantly faster than python if done properly.

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.