arnaldog12 / Deep-Learning

Study and implementation about deep learning models, architectures, applications and frameworks
83 stars 43 forks source link

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

Open D1vyansh opened 4 years ago

D1vyansh commented 4 years ago

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 commented 4 years ago

Hi,

Any update on the query!!

arnaldog12 commented 4 years ago

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

D1vyansh commented 4 years ago

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?

arnaldog12 commented 4 years ago

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

D1vyansh commented 4 years ago

@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??

arnaldog12 commented 4 years ago

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