All Projects → bo-dun → tensorflow-tensorrt

bo-dun / tensorflow-tensorrt

Licence: MIT license
Tensorflow to TensorRT Model Converter

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to tensorflow-tensorrt

pesa
A JS money lib whose precision goes up to 11 (and beyond).
Stars: ✭ 38 (+26.67%)
Mutual labels:  conversion
xsampa
X-SAMPA to IPA converter
Stars: ✭ 20 (-33.33%)
Mutual labels:  conversion
CryptionTool
一个CTF+渗透测试工具框架,集成常见加解密,密码、编码转换,端口扫描,字符处理等功能
Stars: ✭ 62 (+106.67%)
Mutual labels:  conversion
InsightFace-REST
InsightFace REST API for easy deployment of face recognition services with TensorRT in Docker.
Stars: ✭ 308 (+926.67%)
Mutual labels:  tensorrt
cryptoformat
Javascript library to format and display cryptocurrency and money
Stars: ✭ 40 (+33.33%)
Mutual labels:  conversion
bidskit
Utility functions for working with DICOM and BIDS neuroimaging data
Stars: ✭ 52 (+73.33%)
Mutual labels:  conversion
yolov4 trt ros
YOLOv4 object detector using TensorRT engine
Stars: ✭ 89 (+196.67%)
Mutual labels:  tensorrt
pngquant
A Python Wrapper of Pngquant
Stars: ✭ 27 (-10%)
Mutual labels:  conversion
self-driving-ish computer vision system
This project generates images you've probably seen in autonomous driving demo. Object Detection, Lane Detection, Road Segmentation, Depth Estimation using TensorRT
Stars: ✭ 254 (+746.67%)
Mutual labels:  tensorrt
tensorrt-zoo
openpose, yolov3 with tiny-tensorrt
Stars: ✭ 84 (+180%)
Mutual labels:  tensorrt
yolov5 tensorrt int8
TensorRT int8 量化部署 yolov5s 模型,实测3.3ms一帧!
Stars: ✭ 112 (+273.33%)
Mutual labels:  tensorrt
ReSampler
High quality command-line audio sample rate converter
Stars: ✭ 120 (+300%)
Mutual labels:  conversion
MutualGuide
Localize to Classify and Classify to Localize: Mutual Guidance in Object Detection
Stars: ✭ 97 (+223.33%)
Mutual labels:  tensorrt
aspose-words-cloud-node
Node.Js library for communicating with the Aspose.Words Cloud API
Stars: ✭ 20 (-33.33%)
Mutual labels:  conversion
G711
PCM to G711 Fast Conversions
Stars: ✭ 39 (+30%)
Mutual labels:  conversion
RouteConverter
The popular GPS conversion and editing tool
Stars: ✭ 123 (+310%)
Mutual labels:  conversion
mtomo
Multiple types of NN model optimization environments. It is possible to directly access the host PC GUI and the camera to verify the operation. Intel iHD GPU (iGPU) support. NVIDIA GPU (dGPU) support.
Stars: ✭ 24 (-20%)
Mutual labels:  tensorrt
keras-tensorrt-jetson
Example of loading a Keras model into TensorRT C++ API
Stars: ✭ 51 (+70%)
Mutual labels:  tensorrt
flexinfer
A flexible Python front-end inference SDK based on TensorRT
Stars: ✭ 83 (+176.67%)
Mutual labels:  tensorrt
omnic
Stateless microservice for on-the-fly thumbs and conversions of a wide variety of file types, utilizing conversion graph.
Stars: ✭ 17 (-43.33%)
Mutual labels:  conversion

Tensorflow to TensorRT Model Converter

This conversion implementation uses a JSON intermediate to port neural network information. Any TensorFlow model can be converted to TensorRT format, optimized, and used for highly efficient inferencing. The current converter from JSON to TensorRT includes customized code for loading ImageNet data for inferencing.

Files

Tensorflow-JSON.py takes a TensorFlow Session and a few other related objects and serializes them to JSON format. In the code I included two variants on the serialization method, one that aggregates the entire network into one JSON object and one that serializes each layer individually. When using, make sure that the dictionary is formatted correctly according to my comments in the file.

JSON-TensorRT.cpp deserializes a directory of JSON layer files into a TensorRT model. This file also includes customized code to load and synchronously evaluate ImageNet data for direct inferencing. If the input data you're loading has multiple channels and/or batches, it must be in NCHW format, which is what TensorRT works with. TensorFlow, however, uses NHWC format. When debugging, keep in mind that convolutional weights are in KCRS format in TensorRT and RSCK format in TensorFlow.

Author

Feel free to reach out with any questions, comments, suggestions, bug reports, etc.

License

This project is licensed under the MIT License - see the LICENSE file for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].