You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add functionality to visualizing topology of network.
Two ways are possible: console output and torch-like graphviz visualization.
Console output
Preferable for small architectures or for selected parts of networks. It's also useful for testing because our unit tests are based on few-layers networks.
Might looks like std::cout << net << std::endl; similarly for cv::Mat printing. However single method is more flexible for managing different levels of detalization (hyperparameters, input/output shapes, backend, fusion etc.). Minimal level of detalization may includes just layer types and connections, though.
Connections between layers seems to be a key issue because it requires appropriate indentation.
graphviz
Easier than console printing. We just write text file with .dot graph. In example,
@dkurt Has someone already added this feature or can I work on it?
If I can, can you please guide me on how to go about this?
I am familiar with Caffe and just checked out graphviz.
Activity
StevenPuttemans commentedon Aug 24, 2017
Thanks for the pointers on the .dot graph thing :) comes in handy when writing a dissertation ^_^
berak commentedon Oct 5, 2017
out of curiosity, i tried a console based attempt , but ran into some obstacles:
sure, it gets a lot easier, if there is a (human readable) prototxt, but e.g. tensorflow graphs come as a huge, binary chunk
alalek commentedon Oct 5, 2017
There is nice browser-based tool for inspection of Caffe networks: http://dgschwend.github.io/netscope/quickstart.html
RadZaeem commentedon Dec 23, 2017
Anyone still working on this?
Can I take this issue
vpn1997 commentedon Dec 23, 2017
http://fabrik.cloudcv.org/ Fabrik also offers visualisation of the model given Json or protext file.
akhandait commentedon Jan 17, 2018
@dkurt Has someone already added this feature or can I work on it?
If I can, can you please guide me on how to go about this?
I am familiar with Caffe and just checked out graphviz.
dkurt commentedon Apr 14, 2019
An issue has been implemented by @l-bat, Thanks! Feel free to test and provide your feedback. See
cv::dnn::dumpToFile.aimhabo commentedon Apr 20, 2019
Just worrying about not finding a blob in 3.4.0.