pplonski/keras2cpp

This is a bunch of code to port Keras neural network model into pure C++.

51
/ 100
Established

This project helps developers integrate Keras neural network models into C++ applications. It takes a Keras model's architecture and weights, saved as JSON and HDF5 files respectively, and converts them into C++ code. The output is a C++ representation of the neural network that can be compiled and run natively, enabling the use of trained models in C++ environments without Python dependencies.

681 stars. No commits in the last 6 months.

Use this if you need to deploy a Keras-trained convolutional neural network (CNN) model, particularly for image processing tasks, into a pure C++ application.

Not ideal if your Keras model uses activation functions other than ReLU or Softmax, or if you require support for complex network architectures beyond simple CNNs.

deep-learning-deployment machine-learning-engineering image-classification model-porting embedded-AI
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

681

Forks

152

Language

C++

License

MIT

Last pushed

Apr 14, 2020

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/pplonski/keras2cpp"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.