pplonski / keras2cpp

This is a bunch of code to port Keras neural network model into pure C++.
MIT License
679 stars 153 forks source link

custom model architecture #47

Open Guemann-ui opened 2 years ago

Guemann-ui commented 2 years ago

hello

I want to use this model with my python architecture, do I need to rewrite my model architecture in c++ file? or modify keras_model.cc?

pplonski commented 2 years ago

@besmaGuesmi keras2cpp is an example code how Keras with Theano backend can be converted to from python to plain C++. The Theano backend used in this repository is very old, you would rather use Tensorflow. And, the number of supported layers is very limited. So I would rather treat this repository as an example (proof-of-concept) that any Neural Network can be ported from python to plain C++.