user3483676
user3483676

Reputation: 177

how to use mxnet in python

I trained a cnn in mathematica using the network lenet und exported it as MXnet. How can I use the exported JSON and PARAMS in python to predict? How to load the model? I could not find useful examples or documentation for this. I am using python 3.6 with anaconda.

Upvotes: 0

Views: 245

Answers (1)

Thom Lane
Thom Lane

Reputation: 1063

You can use the mxnet.model.load_checkpoint function to load these files into an MXNet symbol, and parameter objects. And then you can use the Module API to bind input data to your symbol for predictions.

See this tutorial for an example of how it's done.

Upvotes: 1

Related Questions