One way to go if you have a “classic” network is to export it with onnx and then use tools that can be used for caffe2 or tensorflow models.
The problem with exporting directly from pytorch is that you will usually have a graph with very low level operations which makes it (very) big.
I tried to export my model with onnx since i saw that caffe2 has a simple way to create graph’s png, but i get the following error
RuntimeError: torch/csrc/autograd/functions/onnx/convolution.cpp:61: symbolic: output padding is not supported.
I guess i can’t export my model because it includes transposed convolutions with output padding and they’re not supported yet. Is there any way around this?
Unfortunately no as this would require to add this specific function to onnx. I am not sure how easy/hard that would be as this might depend on the other framework’s (caffe2 here) capacity to do the exact same operation.
If rendering speed is your main issue, you can export to SVG which creates much smaller files which gets rendered in real time by your viewer (for example, your browser).