tensorflow / tensorflow/tensorboard

projector_demo.py does not have proper metadata

Open
#3,444 2 comments 0 reactions 1 assignee View on GitHub

@hfiller is already working on this.

Since Mar 30, 2020.

plugin:projector type:bug
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

Projector Demo does not properly provide metadata for the tensors (vocabulary).
https://github.com/tensorflow/tensorboard/blob/master/tensorboard/plugins/projector/projector_demo.py

encoder.subwords does not match the dimension of the weights (tensors).

"Number of tensors (8184) do not match the number of lines in metadata (7928)."

$ print(len(weights.numpy()))
8184
$ print(len(encoder.subwords))
7928

Environment information (required)

tested from internal colab

Issue description

Number of tensors (8184) do not match the number of lines in metadata (7928).

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.