keras2cpp
keras2cpp copied to clipboard
This is a bunch of code to port Keras neural network model into pure C++.
Hi, I have noticed a potential issue in the following code: https://github.com/pplonski/keras2cpp/blob/ce407cc06ca9886c330c1bf0e152058befcb60bb/keras_model.cc#L431-L433 Are you sure that we do not need to include dropout layer in prediction mode? In Figure 2...
I get this error while running mnist_cnn_one_iteration.py. Kindly shed some clarity on how to remove this error
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?
I am able to recover the result in C++ as in your comment of `mnist_cnn_one_iteration.py` `# on my pc I got:` `#[[ 0.03729606 0.00783805 0.06588034 0.21728528 0.01093729 0.34730983` `# 0.01350389...
Hello @pplonski, Thank you for this tutorial to convert simple keras to cpp. when I run the first command to generate ".h5 " and ".json" file I get following error:...
Hello, Do you plan to add support for Conv1D layer? I don't currently see the handling for that. Thanks. Paddy
Hello Freund, Grate work! I run your test with Python 2.7 , Keras 1.2.2 Tensorflow 1.0.1 and have wrong result: ....... Compile keras2cpp code Run predictions with dumped network and...
Subtracting max_y from all y makes the output of softmax harder to overflow.