10

I've gone through the documentation of Microsoft's OpenSource AI Library CNTK and did understand how to create and train neural networks. I've also understood, how to "save" the trained results into an output directory.

However, I don't see a way to load the results into the neural network and even more complicated: how do I wrap my trained neural network into an application, so I can actually use it in production instead of just using it for academic research.

I want to integrate my neural network into my Python or C# application. How do I wrap it into such, and how do I create an interface towards its input and output?

double-beep
  • 5,031
  • 17
  • 33
  • 41
Nex
  • 421
  • 1
  • 4
  • 17

1 Answers1

2

They have added a Wrapper for C# and C++ a short time ago.

C# https://github.com/Microsoft/CNTK/tree/master/Source/Extensibility/CSEvalClient

C++ https://github.com/Microsoft/CNTK/tree/master/Source/Extensibility/EvalWrapper

Some guys are already working on a python wrapper also. However, but wrapper it into c++ you can already integrate the c++ solution as a python wrapper library. Confer: http://www.boost.org/doc/libs/1_49_0/libs/python/doc/

Nex
  • 421
  • 1
  • 4
  • 17
  • I finally succeeded using the C# wrapper to get results consistent with the test command results using CNTK.exe, see [this issue](https://github.com/Microsoft/CNTK/issues/160). If you have any struggle with the wrapper let me know I probably had the same problem before... – rold2007 Mar 04 '16 at 04:01
  • 1
    For C# wrapper is just running CNTK as console application. Do you know if there are any plans for pure C# wrapper as Nuget Package? – Martin Bodocky Apr 12 '16 at 10:58
  • c# link is dead as of 12/13/2016 – UpTide Dec 14 '16 at 01:28
  • The link for C# is now https://github.com/Microsoft/CNTK/tree/master/Examples/Evaluation/CSEvalClient – SpeedOfSpin Jun 21 '17 at 17:41