Giter Site home page Giter Site logo

resize Assertion failed about yolox-ros HOT 5 CLOSED

13randNEW avatar 13randNEW commented on June 6, 2024
resize Assertion failed

from yolox-ros.

Comments (5)

fateshelled avatar fateshelled commented on June 6, 2024 2

Is TRT engine file path correct?
After converting to TRT Engine, the link will not be generated in the install directory unless colcon build.

Log invalid arguments path_to_engine indicates that the engine file path is incorrect.
If engine path is specified correctly and successfully loaded, INPUT_HEIGHT and INPUT_WIDTH should be logged.

from yolox-ros.

13randNEW avatar 13randNEW commented on June 6, 2024 2

Is TRT engine file path correct? After converting to TRT Engine, the link will not be generated in the install directory unless colcon build.

Log invalid arguments path_to_engine indicates that the engine file path is incorrect. If engine path is specified correctly and successfully loaded, INPUT_HEIGHT and INPUT_WIDTH should be logged.

I found the TRT engine named "yolo_nano.trt" but I specified it as yolo_nano480x640.trt. It works now! Thank you so much for the help!

By the way, do I need to worry about warning like below?

[component_container-1] [11/26/2022-22:57:30] [W] [TRT] The enqueue() method has been deprecated when used with engines built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. Please use enqueueV2() instead.

from yolox-ros.

Ar-Ray-code avatar Ar-Ray-code commented on June 6, 2024

Please detail the CPU architecture and CUDA version and TensorRT version to reproduce the environment.

from yolox-ros.

Ar-Ray-code avatar Ar-Ray-code commented on June 6, 2024

Attached is a log of when it worked correctly with TRT + C++.

In your case, this may be due to the camera not being connected.

Screenshot from 2022-11-26 17-50-49

from yolox-ros.

fateshelled avatar fateshelled commented on June 6, 2024

I'm glad to hear that it worked correctly.

That warning is from TensorRT and can be ignored.
I will fix it when I have time.

from yolox-ros.

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.