Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I import tensorflow model from CNTK?

I want to deploy my tensorflow model in C++ application that uses CNTK. How can I import tensorflow model from CNTK?

Is there any utility tool from transforming learned models into from digestable for CNTK? What solution would you suggest here?


1 Answers

The simplest way I can think of is to save all your weights into files and re-create the network structure in CNTK. It is probably easier to do in Python. Once you do that you can save the model and load it in C++.

An example of how to do this is in this notebook which will soon be on the CNTK master branch (when it is in master the above url will stop working and the correct url will be this.

like image 99
Nikos Karampatziakis Avatar answered Jan 31 '26 13:01

Nikos Karampatziakis