tensorflow / tensorflow/tensorboard
Map Strings to Tensorboard Projector
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
When projecting the embeddings from the TFRS Multitask Tutorial, the StringLookup layer transforms the movies and users into integers. These integers are projected. Users are fine this way, but movies would be more meaningful of a projection if you could rapidly see the string that was mapped.
With that being said, it's relatively unclear how to map strings back to play nicely Tensorboard Projector. Many of the embedding commands no longer work for TF 2.x, and that model is wrapped in Sequential such that its elements cannot be simply extracted.
I would recommend having the ability to upload the dictionary either as a Python dictionary or as a 2 column .csv/.tsv with the integer left and the string right. Command line would be fine but UI could also have a "map strings from .csv" function as well.
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.
Research direction
Start by reproducing the TFRS Multitask Tutorial projection in TensorBoard Projector and inspect the current embedding workflow; the issue notes that TensorFlow 2.x commands and Sequential extraction are problematic. Done means a supported way to load an integer-to-string dictionary through Python, CSV/TSV, CLI, or UI and display movie strings in the projection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- data-visualization, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100