Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Latest commit

 

History

History
executable file
·
13 lines (6 loc) · 853 Bytes

File metadata and controls

executable file
·
13 lines (6 loc) · 853 Bytes

TF-TRT C++ Image Recognition Demo

This example shows how you can load a native TF Keras ResNet-50 model, convert it to a TF-TRT optimized model (via the TF-TRT Python API), save the model as either a frozen graph or a saved model, and then finally load and serve the model with the TF C++ API. The process can be demonstrated with the below workflow diagram:

TF-TRT C++ Inference workflow

This example is built based upon the original Google's TensorFlow C++ image classification example, on top of which we added the TF-TRT conversion part and adapted the C++ code for loading and inferencing with the TF-TRT model.

See the respective sub-folder for details on either approach.