mxnet.js icon indicating copy to clipboard operation
mxnet.js copied to clipboard

Error with google net model

Open carlosb1 opened this issue 8 years ago • 3 comments

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'...

carlosb1 avatar May 12 '16 10:05 carlosb1

I think, the script to parse models is not working fine... But I don't know how i can fix it...

carlosb1 avatar May 23 '16 11:05 carlosb1

I got the same problem using the inception-v3 network...

flash1293 avatar Oct 20 '16 05:10 flash1293

I was converting a simple MNIST model to json, and got the same error. I want to know how to convert a model correctlly.

Lukeisme avatar Dec 19 '16 09:12 Lukeisme