Collection of modified CNTK scripts. Usually based on the example scripts, but modified to be useful in production environments.
See version directories for installation instructions and further information.
Native CNTK models can be downloaded from URLs found in the following Python module:
https://github.com/Microsoft/CNTK/blob/master/PretrainedModels/download_model.py
Examples:
CNTK can load models in ONNX format since 2.3.
-
ONNX models:
-
how to load an ONNX model with Python (source):
import cntk as C z = C.Function.load("myModel.onnx", format=C.ModelFormat.ONNX)
-
how to save a model in ONNX format with Python:
import cntk as C z = ... z.save("myModel.onnx", format=C.ModelFormat.ONNX)