bitbionic / keras-to-tensorflow

A tutorial on running Keras models in Tensorflow
MIT License
111 stars 67 forks source link

For which tensorflow version and system configuration does it work? #5

Closed Somdyuti2 closed 6 years ago

Somdyuti2 commented 6 years ago

Hello, I am trying to follow your tutorial for creating a bazel independent C++ application which uses tensorflow. On executing build_tutorial_cpp.sh, I am getting an error about missing header file google/protobuf/arena.h. I observed that this and other header files are getting created somewhere in my local .cache directory instead of the root of the project. I wonder if it has something to do with the version of tensorflow and other dependencies. Can you please mention the system configuration and the version numbers of all the libraries for which this tutorial works? Then I can try to replicate the same. Also, I am on a 64 bit Ubuntu 16.04, if that makes any difference.

Thanks

bitbionic commented 6 years ago

Hi, I'm pretty sure I did this tutorial with tensorflow 1.1 . I'm sure there are breaking changes by now, but the principles should still apply. Actually checking my blog confirmed I used tf 1.1. http://www.bitbionic.com/2017/08/18/run-your-keras-models-in-c-tensorflow/

On Mon, Oct 15, 2018, 4:01 PM Somdyuti notifications@github.com wrote:

Hello, I am trying to follow your tutorial for creating a bazel independent C++ application which uses tensorflow. On executing build_tutorial_cpp.sh, I am getting an error about missing header file google/protobuf/arena.h. I observed that this and other header files are getting created somewhere in my local .cache directory instead of the root of the project. I wonder if it has something to do with the version of tensorflow and other dependencies. Can you please mention the system configuration and the version numbers of all the libraries for which this tutorial works? Then I can try to replicate the same. Also, I am on a 64 bit Ubuntu 16.04, if that makes any difference.

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitbionic/keras-to-tensorflow/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AG_UvNau1igNgVALDqESZ74M5YdXeKj4ks5ulOmegaJpZM4XdCmj .

Somdyuti2 commented 6 years ago

Thanks for your reply. I had to downgrade my tensorflow and bazel and it worked. Closing the issue