netron icon indicating copy to clipboard operation
netron copied to clipboard

Hierarchical expansion of large graphs

Open jenniferzhu opened this issue 7 years ago • 10 comments

I failed to load 2.1 MB .meta file generated from char-rnn model (https://github.com/sherjilozair/char-rnn-tensorflow) with python 2.7 and tensorflow 1.0.

It is loading forever... I am wondering what is wrong with these files?

jenniferzhu avatar Jan 24 '18 06:01 jenniferzhu

The graph has more than 5000 nodes and the graph layout is choking. Tried running GraphViz and it's running forever as well. Those graphs will need an expand and explore UI that avoids rendering the entire graph. TensorFlow support is pretty experimental at this point.

lutzroeder avatar Jan 24 '18 06:01 lutzroeder

Thanks @lutzroeder I hope there would be some ways to workaround this issue, since I really like Netron's image of models.

jenniferzhu avatar Jan 24 '18 22:01 jenniferzhu

Same issue, meta file is here in case you want to test it: https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/gym/pybullet_data/policies/ppo/minitaur_reactive_env/model.ckpt-14000000.meta

erwincoumans avatar Mar 26 '19 15:03 erwincoumans

@lutzroeder You mentioned "Those graphs will need an expand and explore UI that avoids rendering the entire graph" , are there any improvements planned for release versions in the future?

kobemini avatar Dec 05 '19 06:12 kobemini

For large graphs, is it possible to add an option to show a given node + fanin and fanouts upto specified level. Example netron <g.pbtxt> -node <node_name> -level 3

jojivk73 avatar Apr 13 '20 16:04 jojivk73

@jojivk73 there is no such args like node or level in my netron cmd line...

JasonWayne avatar Sep 08 '20 08:09 JasonWayne

Hi, I'm encountering this issue as well for models I was able to open with previous versions, of onnx files

yairb-gm avatar Sep 12 '21 09:09 yairb-gm

@yairb-gm can you please share a sample file?

lutzroeder avatar Sep 12 '21 17:09 lutzroeder

Hi @lutzroeder,

I've seen there was EfficientDet-D0 mentioned in the other issue about this. It does work now, but Netron still barfs on EfficientDet-D2. Here is an example onnx file. I'm not very fluent in javascript, is there anything I can do quickly to get this fixed?

Thanks,

Carl

CarlPoirier avatar Mar 18 '22 17:03 CarlPoirier

pytorch/pytorch#75100

lutzroeder avatar Sep 28 '22 01:09 lutzroeder