tensorflow / tensorflow/tensorboard
projector_demo.py does not have proper metadata
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.