I am using the keras2cpp implementation to convert a trained model with keras_retinanet to c++. I have managed to do everything successfully, the ".model" file is generated, the c++ reads an image and passes it to the model and it compiles and links but when executing the compiled keras2cpp binary I get the following error:
I have been doing some debugging and what fails is the read of the model. It is not a matter of permissions.
The only thing I do different when exporting the model after training and validation is that I use "model.fit_generator" instead of "model.fit" as in the example provided by you, but it should not be an issue right? do you have an idea about why this could be happening? my guess is, the model is being generated wrong somehow.
Hi, thanks for this work!
I am using the keras2cpp implementation to convert a trained model with keras_retinanet to c++. I have managed to do everything successfully, the ".model" file is generated, the c++ reads an image and passes it to the model and it compiles and links but when executing the compiled keras2cpp binary I get the following error:![imagen](https://user-images.githubusercontent.com/25886255/81922816-f4c33900-95dc-11ea-9b58-859039ed7190.png)
I have been doing some debugging and what fails is the read of the model. It is not a matter of permissions.
The only thing I do different when exporting the model after training and validation is that I use "model.fit_generator" instead of "model.fit" as in the example provided by you, but it should not be an issue right? do you have an idea about why this could be happening? my guess is, the model is being generated wrong somehow.
thanks in advance!