lanking520 opened a new issue #15281: Gluon Inference failed URL: https://github.com/apache/incubator-mxnet/issues/15281 Currently, the nightly build has the problem for inference. I tested on Ubuntu 16.04 with the following command: ``` pip install mxnet-mkl --pre ``` and the code: ```python from mxnet import gluon from mxnet import ndarray as nd import mxnet as mx prefix = '/Model/resnet_ssd/resnet_ssd_model' imported_net = gluon.nn.SymbolBlock.imports(prefix + '-symbol.json', ['data'], prefix + '-0000.params') imported_net.hybridize(static_alloc = True, static_shape = True) data = nd.ones((1, 3, 100, 100)) # softmax_label = nd.ones((1)) result = imported_net(data) print(result[0]) ``` To download the model: ``` curl https://s3.amazonaws.com/model-server/models/resnet50_ssd/resnet50_ssd_model-symbol.json -o $data_path/resnet50_ssd_model-symbol.json curl https://s3.amazonaws.com/model-server/models/resnet50_ssd/resnet50_ssd_model-0000.params -o $data_path/resnet50_ssd_model-0000.params curl https://s3.amazonaws.com/model-server/models/resnet50_ssd/synset.txt -o $data_path/synset.txt ``` You will see the following problems: ``` /usr/local/lib/python2.7/dist-packages/mxnet/gluon/block.py:1149: UserWarning: Cannot decide type for the following arguments. Consider providing them as input: data: None input_sym_arg_type = in_param.infer_type()[0] corrupted double-linked list Aborted (core dumped) ``` @frankfliu identified that the crash happened in between June 12 - June 13. All previous version works fine.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
