tensorflow / tensorflow/tensorboard

tensorboard add_mesh is not working properly

Open
#5,701 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi,

I started to use some mesh tools from tensorboard, specifically, mesh. and I realized, this is not plotting correctly with the indicator.

        for i in range(20):
            writer.add_mesh(f'mesh/pred', pred[0][i:i+1],
                            colors=np.ones(pred[0][i:i+1].shape) * np.array([[[255, 0, 0]]]),
                            global_step=i)
            writer.add_mesh(f'mesh/target', target[0][i:i+1],
                            colors=np.ones(pred[0][i:i+1].shape) * np.array([[[0, 255, 0]]]),
                            global_step=i)

image

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

Start by reproducing the reported behavior from the issue's Python snippet using tensorboard's add_mesh calls and the attached image as the current result. Trace the add_mesh rendering path and determine what corrected indicator behavior should be verified, then add or run a focused regression test if the relevant test location is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.