Tensorflow C++ preparing vector input and running inference on a model

I am trying to build an inference application using TensorFlow in C++ to be used in an optimization program. I have already built and trained the CNN model using python, and have been able to load it into C++ as a pb file, but I haven’t been able to figure out how to run an inference with my Input type, which is a multidimensional floating number vectors. That’s where you come in!

What needs to be done can be described in the following steps

-Pass the loaded model and tensorflow session into an inference function

-convert input vectors into tensors

-perform an inference on the loaded model with the input tensors

-convert the output tensors into a vector

Attached is the code for the project and one of the models you will have to run it with. Properly completing the cnn_inference_regression, and cnn_inference categorization functions is the scope of the project. See the string ‘#wrk’ in the cpp file for all points of interest.

The project is similar to the tutorial below except you are handling the reading and output data as I have specified.

[login to view URL]

This shouldn’t be a hard task if you have experience and knowledge with TensorFlow's c++ implementation, which I lack.

Ideally, I would like to work with someone who can recreate similarly to my platform which is described by the following. This is not required, but final code is expected to work on this platform.

-Visual Studio 2017 15.6

-Tensorflow v1.4

-Windows 10


-cuDNN 6

I have built my Tensorflow library according to this link following the path with the gpu implimentation.

[login to view URL]

Skills: Artificial Intelligence, C++ Programming, Machine Learning, Tensorflow

See more: tensorflow c++ device, tensorflow c++ tutorial, tensorflow c++ placeholder, tensorflow c++ tensor, tensorflow c++ graphdef, tensorflow object detection c++, tensorflow c++ training, tensorflow c++ inference, shirt vector model, html form vehicle model input, phone design model vector, vector model ship, running total input javascript, running logo vector, 2d vector 3d model, bwith received vector input left end syndrome circuit meggitt decoder table show syndrome register entire received vector r01101, making running character vector, car model vector, input model ansys, vector animation running

About the Employer:
( 1 review ) Ottawa, Canada

Project ID: #17695390

Awarded to:


I can do that for you. I\'m working with Tensorflow regulary and I have to deal with deployment. I be glad to put my skills to your needs.

$404.86 CAD in 5 days
(1 Review)

10 freelancers are bidding on average $893 for this job


Hi I am an MSc majored in mathematics. (Probability and Statistics) I have deep understandings of Machine Learning in all kinds of fields. I have experience in loading trained tensorflow graph models into C++ and us More

$1058 CAD in 5 days
(57 Reviews)

Hello sir. AS a machine learning and deep learning expert, i'm glad to see your project. As you can see in my profile, i have good skills in tensorflow and Cuda. I have finished several projects with them. For your More

$2529 CAD in 10 days
(55 Reviews)

Dear client. I have read your project description and I think I can be a candidate of your project. I have been confident and sure that I can complete your job. Please let me know, if you are interested in me. Thank yo More

$416 CAD in 3 days
(8 Reviews)

Got an excellent team and my team has 7 years of experience into C/C++ & OpenCV,OCR using Tesseract & Deep Learning using Keras. Can very well execute this Project as we have already done something of this sort. We ha More

$2510 CAD in 3 days
(3 Reviews)

Hello! If you already have some bits of code written in C++ I would gladly help you with converting the vectors into tensors and the tensors into vectors. As with the first and second tasks, please contact me, as More

$250 CAD in 1 day
(3 Reviews)

I'm AI Researcher at OpenAI and Neurologic. Actually we deploy all of our models using the Tensorflow C++ API. I also work with Multidimensional data, since my focus it's around time-series predictions (3d data).

$555 CAD in 4 days
(2 Reviews)

I believe that my experience and skill in this background will prove to be of great help to you. Contact me to discuss more on the details

$416 CAD in 10 days
(1 Review)
$394 CAD in 10 days
(0 Reviews)
$394 CAD in 10 days
(0 Reviews)