-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Graph visualization unnecessarily wide #864
Comments
I was just about to report this as well! For example, yolov5n.onnx looks like this for me: This width is somewhat justifiable since the final layers of the model do indeed need the width, but there is no reason for the connections that go from a conv to the following mul to go all the way to the right and back. |
@leosh64 @KarelPeeters @AlessandroMondin can you investigate this and suggest a fix. dagrejs/dagre#239 has some context. The paper describing the algorithm can be found here and the code here. |
It seems the second pass (link) of the Tested with yolov5n.onnx.
So my bet is everyone should edit the code to adjust the view when needed. |
There was a change to make unnecessary wide edges become narrow. |
I've just encountered the issue with The file is listed in |
I still haven't understood the root cause of this problem but applying the change somehow resolved it. |
@beru thank you for investigating. I tried the change on a few files and noticed it changes the symmetry of squeezenet1.1.onnx. |
Thank you for checking it. And... could you also please check this change? link Applying the change yields preferrable result with the I've debugged around Edited: This change is |
For some networks, the visualization of the graph becomes unnecessarily wide. This makes it difficult to understand connections when zoomed in:
Throughout the model, there is no section that would justify such a wide visualization.
Below some screenshots when zoomed out:
The same issue (unnecessarily high) occurs in horizontal mode:
The text was updated successfully, but these errors were encountered: