CNTK integrated into Keras

June 13, 2017
By

This post was kindly contributed by SAS Programming for Data Mining - go there to comment and to read the full post.

Keras is a very convenient tool to build your deep learning model from scratch, it is so easy to use that it almost becomes the de-facto deep learning modeling framework in Kaggle competition.

Keras used to support only TensorFlow and Theano, now, CNTK, now rebranding as Cognitive Toolkit in full name, from Microsoft is joining as a new backend choice, but you need to download Microsoft private fork of Keras at this moment while Microsoft is working with Keras author to fully integrate CNTK as its backend.

CNTK is a very good deep learning tool: 1. it is super fast especially for RNN type of model; 2. it scales well across multiple GPUs Here is our own speed comparsion (number in sec) on Windows platform using NVidia Titan Xp, YMMV though:

If you want to give CNTK a try, you can follow the installation instruction @ here. To install Keras that supports CNTK, follow the instructions @here.

This post was kindly contributed by SAS Programming for Data Mining - go there to comment and to read the full post.

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors







Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.