-
Notifications
You must be signed in to change notification settings - Fork 4.3k
CNTK Library Evaluation on Linux
The CNTK Library on Linux is provided as C++ and Python library.
The usage pattern on Linux is the same as that on Windows.
The evaluation library, libcntklibrary-2.0.so, can be found under cntk\lib in the CNTK binary package. If you build CNTK from source code, the libcntklibrary-2.0.so is available in the lib folder of the build directory.
Any program using the evaluation library needs to link libcntklibrary-2.0.so and libcntkmath.so when compiling the program, for example by specifying "-lcntklibrary-2.0 -lcntkmath" as well as appropriate search path for both libraries. Please use the same compiler version as that used to build libraries. The Examples/Evaluation/CPPEvalV2Client in the CNTK source code illustrates the usage pattern in Linux. The Makefile contains the target EVALV2_SAMPLE_CLIENT showing how to build the example.
For details on the Eval V2 C++ API, please refer to the CNTK Library Evaluation Interface page in this wiki.
You can use Python to evaluate a pre-trained model. Examples can be found here.