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 2018/03/23 21:59:51 UTC

[GitHub] nswamy commented on a change in pull request #10216: [WIP] [DO NOT MERGE] Onnx Model Zoo tests

nswamy commented on a change in pull request #10216: [WIP] [DO NOT MERGE] Onnx Model Zoo tests
URL: https://github.com/apache/incubator-mxnet/pull/10216#discussion_r176874283
 
 

 ##########
 File path: python/mxnet/contrib/onnx/_import/import_model.py
 ##########
 @@ -46,5 +43,5 @@ def import_model(model_file):
     except ImportError:
         raise ImportError("Onnx and protobuf need to be installed")
     model_proto = onnx.load(model_file)
-    sym, params = graph.from_onnx(model_proto.graph)
-    return sym, params
+    sym, arg_params, aux_params = graph.from_onnx(model_proto.graph)
+    return sym, arg_params, aux_params
 
 Review comment:
   @piiswrong You were very much tagged in the initial PR, you had every chance to review that section of code looks like you missed as well. I do not understand your concern. No one creates bug intentionally, when bugs are found they are getting fixed. 

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