CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

C++ app using cntk

Open Arminea opened this issue 10 years ago • 2 comments

Hi, I would like to create an c++ app which will use cntk and then make an apache module. Input should be an image given by user through web form. The application should use cntk pretrained model and give me a number of class (just 0 or 1) for the input image. Could someone steer me in the right direction? Is there any tutorial for using pretrained models in user application?

Arminea avatar Nov 20 '16 16:11 Arminea

There are no C++ tutorials at this point. Some people build web apps with Python or C# nowadays. This wiki page shows how to load a single image and obtain predictions in Python.

Some C++ resources: For loading a pretrained model in C++, this is the only example we have right now. This only shows how to load and evaluate a simple model. Another useful example in C++ is CifarResnet which shows one way to load images in C++.

n17s avatar Nov 20 '16 19:11 n17s

Using python instead of c++ seems to be easier to me at this point :) Thanks a lot

Arminea avatar Nov 20 '16 21:11 Arminea