tensorflow / tensorflow/tensorboard

Projector does not validate tensor shape

Open
#1,884 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

There are a few fantastic examples of how to write data for consumption in the projector (e.g. https://stackoverflow.com/a/41370610 ). I tried applying these examples to my own work only to find that my checkpoints would not load. It turns out that the error was due to the shape of tensors in the checkpoint file; the tensor selected for the Project must be of shape N x d (for N examples of vectors with size d) or else the Projector silently fails. This issue is a request to the Tensorboard authors to add some sort of error message, tooltip, help message, etc. that might indicate to the user that a checkpoint was loaded but no viable tensors were found.

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.

Research direction

The issue names no files or tests, so begin by tracing the Projector's checkpoint-loading and tensor-selection flow, focusing on tensors that are not N × d. Confirm where the current silent failure occurs. Done means users receive a clear indication when a checkpoint loads but contains no viable tensors, with coverage for the invalid-shape case.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.