Deep-Learning icon indicating copy to clipboard operation
Deep-Learning copied to clipboard

Is there a C++ evaluation file of this model??

Open D1vyansh opened this issue 5 years ago • 6 comments

Hi,

I trained the model in Keras but want to use it in C++ for evaluation, do you have a C++ evaluation file of this model?? It would be very helpful for me if you can share any C++ code regarding this model and have files in which the C++ version of this model can be evaluated. I am new to C++ and have issues in making functions like compute_features() and detect_face_points() in C++ Any help would be appreciated!!

D1vyansh avatar Jul 08 '20 01:07 D1vyansh

Hi,

Any update on the query!!

D1vyansh avatar Jul 11 '20 12:07 D1vyansh

take a look in this link: https://we.tl/t-Y1RedLHx3v, @D1vyansh

arnaldog12 avatar Jul 11 '20 13:07 arnaldog12

Hi,

Thanks for the reply, but can you share a C++ prediction file along with this. It contains the .pb model file and Application file. I am using the model for some other purpose and was able to convert most of the functions in C++ but I am unable to replicate model.predict("2278 input features") in C++. Any leads on that?

D1vyansh avatar Jul 12 '20 02:07 D1vyansh

I have code for running TensorFlow in C++ only for TF v1.4. Certainly, it does not work for v2.x.

arnaldog12 avatar Jul 13 '20 12:07 arnaldog12

@arnaldog12 , I already converted the Tensorflow model in C++ freeze graph format using TF v1.5, I am facing issues in evaluating it in C++. Can you still share your code??

D1vyansh avatar Jul 13 '20 12:07 D1vyansh

I used this code to run TensorFlow models in C++ using OpenCV to work with images.

arnaldog12 avatar Jul 13 '20 12:07 arnaldog12