Giter Club home page Giter Club logo

c-tensorrt-issue's Introduction

Usage

Please Begin by using the provided Python script (trt_python_version.py) to generate the TensorRT engine file. This is necessary because our current C++ application does not possess the capability to create this engine file independently. After that the engine has been created you can run the cmake and it will copy the engine file beside of the exe file to use it.

The codes have been written in a simplified manner to facilitate comprehension and reproduction by anyone. After the engine file has been created with Python, we will then utilize this file in our C++ application.

Python Tensorrt Version(trt_python_version.py)

0.23063406348228455
-0.3731584846973419
0.006619574502110481
0.10835819691419601
-0.16631896793842316
1.2145062685012817
-0.32606250047683716
0.8365474939346313
-0.8601087927818298
1.045083999633789

onnx result(10 floats from 512, check_with_infery_package.py)

0.22878073
-0.3585716
0.0056644576
0.10903041
-0.16341211
1.2052734
-0.33571026
0.8408292
-0.85148907
1.0456058

C++ Tensorrt(run cmake, cmake only needs to know the path of TensorRT, it is defined in root cmake)

-0.0516071
-1.07846
0.317808
0.475234
0.659989
1.37345
-0.197221
0.0824542
-0.258701
0.278051

c-tensorrt-issue's People

Contributors

pushpak51094 avatar robosina avatar tdnai avatar

Watchers

 avatar

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.