Tensorboard metrics not loaded properly
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python, pytorch, typescript
- Domain
- data-visualization, machine-learning
Research direction
No file or test is named in the report. Start by reproducing the supplied torch.utils.tensorboard example with add_scalar and add_hparams, then trace how TensorBoard loads the recorded validation/min_loss metric. Done means the scalar appears in the TensorBoard metrics column.
Written by the indexing model from the issue text.
Description
I have the problem that in Tensorboard the metrics are not loaded correctly (the column is always empty), although the scalars are saved correctly. I am working with torch.utils.tensorboard.
Relevant code:
writer = SummaryWriter(log_dir=f'./logs/studies/{study_name}/')
In the training loop:
writer.add_scalar(tag='validation/min_loss',
scalar_value=min_val_loss,
global_step=trial.number)
Add the hyperparameter to the summary writer (args_dict is a dictionary with all hyperparameters)
writer.add_hparams(hparam_dict=args_dict,
metric_dict={'validation/min_loss': min_val_loss},
run_name=run_name)
writer.close()
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
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.
More from tensorflow/tensorboard
-
node_repositories in WORKSPACE missing linux_ppc64le and linux_s390x entries for Node.js 18.20.8 Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
tensorflow/tensorboard#7140 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/tensorboard#7153 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
tensorflow/tensorboard#7137 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
tensorflow/tensorboard#7119 ·
-
Issue: TensorBoard wheels on PyPI fail with setuptools >81 due to deprecated pkg_resources removal Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/tensorboard#7107 · 2 comments · 7 reactions ·
All issues in tensorflow/tensorboard
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·