Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

How to plot accuracy in a Text2Class problem? #1715

@abnf

Description

@abnf

Description

...

Environment information

OS: 
Version: tf-cpu.1-14.m34
Based on: Debian GNU/Linux 9.9 (stretch) (GNU/Linux 4.9.0-9-amd64 x86_64\n)
Linux cpu1-vm 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5 (2019-08-11) x86_64

$ pip freeze | grep tensor
# your output here
jupyter-tensorboard==0.1.10
mesh-tensorflow==0.0.5
tensor2tensor==1.13.4
tensorboard==1.14.0
tensorflow==1.14.0
tensorflow-datasets==1.2.0
tensorflow-estimator==1.14.0
tensorflow-hub==0.5.0
tensorflow-metadata==0.14.0
tensorflow-probability==0.7.0rc0
tensorflow-serving-api==1.13.0rc1
tensorflow-transform==0.14.0

$ python -V
# your output here
Python 2.7.13

I add

  def eval_metrics(self):
      return [
          metrics.Metrics.ACC
      ]

to my Text2ClassProblem problem but it does not show on TensorBoard. TensorBoard only plots loss. How to plot accuracy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions