yajiemiao / pdnn

PDNN: A Python Toolkit for Deep Learning. http://www.cs.cmu.edu/~ymiao/pdnntk.html
Apache License 2.0
225 stars 105 forks source link

DNN Model and Configuration #37

Open muhammadriz opened 8 years ago

muhammadriz commented 8 years ago

Hi

How i can view "nnet.mdl' and 'nnet.cfg' files in MATLAB and PYTHON.

yajiemiao commented 8 years ago

You can open nnet.mdl directly. Depending on the model size, loading the file may take some time. nnet.cfg is pickle-formatted dump of network configuration (a class). You can load it with something like: with smart_open(filename, 'rb') as fp: cfg = json.load(fp)

I don't think they can be loaded by MATLAB