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/27 21:14:14 UTC

[GitHub] ThomasDelteil opened a new issue #10282: plot_network issue with LRN

ThomasDelteil opened a new issue #10282: plot_network issue with LRN 
URL: https://github.com/apache/incubator-mxnet/issues/10282
 
 
   There is an issue in `master` that is not present in `1.1.0`
   
   Plotting the network on this tutorial:
   http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-10165/10/tutorials/onnx/inference_on_onnx_model.html
   Fails with this error:
   
   ```
   KeyErrorTraceback (most recent call last)
   <ipython-input-15-3112c78b14de> in <module>()
   ----> 1 mx.visualization.plot_network(sym, shape={"input_0":inputs[0].shape}, node_attrs={"shape":"oval","fixedsize":"false"})
   
   /home/ubuntu/anaconda3/envs/mxnet_p27/lib/python2.7/site-packages/mxnet/visualization.pyc in plot_network(symbol, title, save_format, shape, node_attrs, hide_weights)
       342                                 if "num_outputs" in params:
       343                                     key += str(int(params["num_outputs"]) - 1)
   --> 344                             shape = shape_dict[key][1:]
       345                             label = "x".join([str(x) for x in shape])
       346                             attr["label"] = label
   
   KeyError: u'lrn0_output'
   ```
   
   
   The issue was introduced before `mxnet==1.2.0b20180221`
   
   
   

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