Skip to content

Tensorflow 2.0 custom_scalar plugin for tensorboard #5343

Open
@PgLoLo

Description

@PgLoLo

To set layout for custom_layout plugin in tensorflow 1.x you should use method add_summary in FileWriter class. So the code should look like this:

with tf.summary.FileWriter(LOGDIR) as writer:
   layout_summary = summary_lib.custom_scalar_pb(...)
   writer.add_summary(layout_summary)

In tensorflow 2 add_summary method was removed. How can I set custom_scalar layout now? Is it a bug or a desired API change?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions