Share via


EvalDll C++/C# Examples

Prior to the CNTK 2.0 version, the CNTK EvalDLL was used to evaluate model trained by using cntk.exe with BrainScript. The EvalDLL is still supported, but works only for the model created by cntk.exe with BrainScript. It can not be used to evaluate models created by CNTK 2.0 or later using Python. We strongly recommend to use the latest CNTK libraries for evaluation, as it supports model formats and provides more features.

For legacy applications that are still using EvalDll, The EvalClients.sln contains the following examples:

On Windows, the solution file EvalClients.sln is used to build and run samples. Please note

  • You need Visual Studio 2015 Update 3 for using these samples.
  • The samples should be built for the 64-bit target platform. Otherwise some issues arise when calling the library. Please also refer to the Troubleshoot CNTK page for more information.
  • After a successful build, the executable is saved under the $(SolutionDir)....$(Platform)$(ProjectName).$(Configuration)\ folder, e.g. ....\X64\CPPEvalClient.Release\CppEvalClient.exe.

On Linux, please refer to the Makefile for building samples. The target name EVAL_CLIENT, and EVAL_EXTENDED_CLIENT are used to build these projects.