mxnet.js
mxnet.js copied to clipboard
Error with google net model
I have imported the googlenet model for mxnet and mxnet.js. It seems it was parsed correctly... But i can not add it in my example code..... I get this error:
Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.
From this wrapper:
_CWRAP_MXPredCreate(symbol_json,
ptr_param_bytes,
param_bytes.length,
1, 0,
ptrarr_input_keys.length,
ptr_input_keys,
ptr_input_shape_indptr,
ptr_input_shape_data,
ptr_handle_out);
This wrapper is called in the creation of my predictor class:
pred = new Predictor(model, {'data': [1, 3, 224, 224]});
I don't understand why it is not working.... I don't find documentation about the mxnet.js... for this reason, i don't know exactly which input parameters should specify as 'data'...
I think, the script to parse models is not working fine... But I don't know how i can fix it...
I got the same problem using the inception-v3 network...
I was converting a simple MNIST model to json, and got the same error. I want to know how to convert a model correctlly.