You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/12 22:42:15 UTC

[GitHub] vandanavk commented on issue #11542: Import to gluon not working for ONNX model

vandanavk commented on issue #11542: Import to gluon not working for ONNX model
URL: https://github.com/apache/incubator-mxnet/issues/11542#issuecomment-462967806
 
 
   @ankkhedia this issue does not occur on the latest MXNet (built from source).
   
   Executed this:
   ```
    import mxnet as mx
   from mxnet.gluon import SymbolBlock
   from mxnet.contrib import onnx as onnx_mxnet
   
   input_shape = (1, 3, 112, 112)
   sym, arg_params, aux_params = onnx_mxnet.import_model("resnet100.onnx")
   params = {}
   params.update(arg_params)
   params.update(aux_params)
   
   net = SymbolBlock(outputs=sym, inputs=mx.sym.var('data'))
   ```
   
   Can this issue be closed? Please feel free to reopen if you see this issue again.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services