mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

When using plot_network, I do not see the input data block

Open jimxinbo opened this issue 10 years ago • 6 comments

This may sound stupid but am I the only one?

When repeating the notebook example here: https://github.com/dmlc/mxnet/blob/master/example/notebooks/composite_symbol.ipynb

My visualization does not show the data block at the bottom, but directly starts from the first layer.

Not a big deal, but it kinda bothers me, any help? Thanks.

jimxinbo avatar Mar 12 '16 06:03 jimxinbo

@antinucleon can you look into this?

tqchen avatar Mar 13 '16 03:03 tqchen

I have got the same problem. It seems strange. I am using the latest version of Mxnet.

horserma avatar May 05 '16 04:05 horserma

any update on this? I saw this page https://indico.io/blog/getting-started-with-mxnet/ they have the graph as I expected. However, I keep update to the latest version of mxnet, I still cannot see the input variables. Or any variables to be precise. @tqchen

horserma avatar May 23 '16 11:05 horserma

To show single input data, replace in python/mxnet/visualization.py in line 65 heads = set([x[0] for x in conf["heads"]]) # TODO(xxx): check careful with heads = set(conf["heads"][0])

5urprise avatar Jun 17 '16 11:06 5urprise

@5urprise @jimxinbo @horserma I have the same problem and I agree that there is something wrong with heads. I change heads by creating a list containing indices of nodes with data or label in nodel['name']. This might be a quick and dirty way to get things work. I hope the DLMC members can give some hint on this problem. @tqchen @piiswrong

wshenx avatar Jul 12 '16 02:07 wshenx

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!

szha avatar Sep 28 '17 05:09 szha