Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exporting Tensorboard computation graph as vector graphics

Tags:

tensorboard

In Tensorboard there is a button save the computation graph as a png, is there a way to export it as vector graphics like eps?

like image 471
dagcilibili Avatar asked Dec 03 '16 22:12

dagcilibili


People also ask

How do you save a TensorBoard graph?

You can use tensorboardX and import SummaryWriter to write scalars. Try to open the tensorboard server in google chrome (make sure you checked the Show data links) and you will have an option to download the current graph as svg file.

How do you visualize a TensorBoard?

Head over to localhost:6006 to see TensorBoard on your local machine. We can see some of the scalar metrics that are provided by default With the linear Classifier. We can also Expand and Zoom into any of these graphs. Double-clicking allows us to zoom out.

How do you show a TensorFlow graph?

Select the Graphs dashboard by tapping “Graphs” at the top. You can also optionally use TensorBoard. dev to create a hosted, shareable experiment. By default, TensorBoard displays the op-level graph.

What is graph in TensorFlow?

Graphs are data structures that contain a set of tf. Operation objects, which represent units of computation; and tf. Tensor objects, which represent the units of data that flow between operations. They are defined in a tf. Graph context.


1 Answers

You can save in svg format with SVG Crowbar

  1. Bookmark the "SVG Crowbar 2"
  2. Open tensorboard and the graph you want
  3. Open your bookmarks tab, click the bookmark (it may take a long time)
  4. Download the corresponding svg (it will output lots of svg, I'm not sure which one is which)

example

like image 110
cya Avatar answered Jan 02 '23 23:01

cya