Coder Social home page Coder Social logo

ramstorage / tensorrt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from d246810g2000/tensorrt

0.0 0.0 0.0 302.52 MB

This repository contains rich tensorrt examples such as cifar10, onnx2trt, yolo, nanodet, face recognition, pose estimation.

Shell 0.02% C++ 0.27% Python 7.85% C 0.03% Cuda 0.41% Makefile 0.05% CMake 0.02% Jupyter Notebook 91.36%

tensorrt's Introduction

TensorRT

TensorRT 的核心是一個 c++ 的 library,透過 TensorRT 將 training framework 最佳化成一個 inference engine,這個 engine 能夠高效率的於 Nvidia GPU 進行 inference。

如今 TensorRT 已經支援了很多深度學習的框架,但是有些框架需先轉換成 ONNX 的通用深度學習模型 (請參考 onnx 轉換模型教學),才可以透過 TensorRT 進行最佳化,像是 Caffe2/CNTK/Chainer/PyTorch/MxNet 等等,而有些框架則已經把 TensorRT 集成到框架中了,像是 TensorFlow/MATLAB 等等。

為了最佳化模型需先經過 TensorRT 的 network definition 再 build 成 engine,這個 build 的過程會需要一段時間,因此可以透過 serialize 將 engine 存成 trt 檔,下次若要使用可以透過 deserialize 將 trt 檔還原成 engine 以供預測。

tensorrt's People

Contributors

d246810g2000 avatar hackmd-deploy 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.