Counting 3,663 Big Data & Machine Learning Frameworks, Toolsets, and Examples...
Suggestion? Feedback? Tweet @stkim1

Author
Last Commit
Mar. 25, 2019
Created
Mar. 6, 2019

From Keras to C

This small demo project is about deploying deep learning models on embedded platforms. The techniques exposed here have been particularly useful to me in the deployment of deep learning models in industrial applications.

We start with a simple example model, trained with Tensorflow + Keras. In the end, we'll freeze the model and export a GraphDef that can be loaded and executed through the Tensorflow C API (without Python). The training and export are coded into the file train_and_export.py whereas the inference is coded into the file model_run.cpp. The Tensorflow binaries must be loaded into the folder lib, they can be downloaded from the following link.