I have been trying to compile the prediction API using the amalgamation but when I try to use the library I get the following error:
mxnet/nnvm/src/core/pass.cc:30: Check failed: reg != nullptr Cannot find pass LoadLegacyJSON in the registry
here is the load code which works against the full libmxnet library
retval = MXPredCreate((const char*) symbol,
(const char* ) params,
params_fsz,
1,
0,
num_input_nodes,
(const char**) input_keys,
input_shape_indptr,
input_shape_data,
&dnn
);
Is there a compiler flag I'm missing?