tensorflow / tensorflow/tensorboard

Tensorflow 2.0 custom_scalar plugin for tensorboard

Open
#5,343 5 comments 2 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

plugin:custom-scalars tf-2.0
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.