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/06/08 01:38:42 UTC

[GitHub] glingyan opened a new issue #11195: onnx do not support conv weight from symbol

glingyan opened a new issue #11195: onnx do not support conv weight from symbol
URL: https://github.com/apache/incubator-mxnet/issues/11195
 
 
   if weight is from another node
   will raise exception
   def _fix_channels(op_name, attrs, inputs, proto_obj):
       """A workaround for getting 'channels' or 'units' since onnx don't provide
       these attributes. We check the shape of weights provided to get the number.
       """
       weight_name = inputs[1].name
       if not weight_name in proto_obj._params:
           **raise ValueError("Unable to get channels/units attr from onnx graph.")**
   
   ![image](https://user-images.githubusercontent.com/22489989/41134562-98fb2c40-6aff-11e8-9fe0-03b73e97f384.png)
   

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