Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNN Model and Configuration #37

Open
muhammadriz opened this issue Mar 6, 2016 · 1 comment
Open

DNN Model and Configuration #37

muhammadriz opened this issue Mar 6, 2016 · 1 comment

Comments

@muhammadriz
Copy link

Hi

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

@yajiemiao
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants