/cntk

Collection of modified CNTK scripts.

Primary LanguagePythonMIT LicenseMIT

CNTK

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.

Pretrained models

CNTK

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:

ONNX

CNTK can load models in ONNX format since 2.3.

  • ONNX models:

    https://github.com/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)