question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Metric present but marked as <null> (Parallel Coordinates)

See original GitHub issue

wandb --version && python --version && uname

  • Weights and Biases version: 0.9.4
  • Python version: 3.6.9
  • Operating System: Linux (Ubuntu 18.04.2)

Description

Eventhough I have values for my accuracy metric (the graph is not empty), the Parallel Coordinates graph doesn’t show the final value (all runs are marked as <null>). image

image

What I Did

I guess I know where the problem might be because my logs are a little bit strange. I am building my model in 2 times :

  • First, I train an autoencoder, logging loss and val_loss metrics to Wandb plus an additional accuracy which value is 0 (needed by keras-tuner library to perform the hyperparameter search) at the end of each epoch.
  • Then, I create an anomaly detection model from the autoencoder (determine a threshold and everything) and evaluate its performances on a supervised task which returns an accuracy value (and few others metrics, as FalsePositive, …) that I log to Wandb.

This double logging thing make my last accuracy value logged one step after many other metrics (ie, if loss and val_loss were logged during the first 156 steps, the last accuracy value will be on the 157th step).

For information, during the autoencoder’s training the accuracy value is correctly shown as 0 and get wiped out afterwards.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:28 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pierreelliottcommented, Jul 29, 2020

Link sent!

0reactions
jarridrbcommented, Jul 5, 2022

Want to note that I’m getting a similar issue as well. I can look into it more in the next few days to post more details, but the short version of things is that I have a number of runs which have their summary metrics filled while training progresses, but once the trial has finished the summary metrics disappear similar to the images above. I’m using the wandb integration with Ray Tune which potentially could be a culprit for the issue, but I’m not certain. One thing to note is that I checked wandb-summary.json for a couple of the affected runs and the metrics which I’m looking to track are present there even after the run finishes, but not on the wandb web UI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metric present but marked as <null> (Parallel Coordinates)
I am building my model in 2 times : First, I train an autoencoder, logging loss and val_loss metrics to Wandb plus an...
Read more >
Parallel Coordinates - Documentation - Weights & Biases
Parallel coordinates charts summarize the relationship between large numbers of hyperparameters and model metrics at a glance.
Read more >
Visualization Techniques for Parallel Coordinates
This thesis presents visualization techniques for parallel coordinates that address these limitations. As a foundation, an extensive review ...
Read more >
Visual Exploration of Large Multidimensional Data Using ...
In the parallel coordinates technique, all dimensions of the multidimensional data are represented as parallel axes and each record as a polyline. A...
Read more >
HiePaCo: Scalable hierarchical exploration in abstract parallel ...
This paper presents: (1) a graph-based formalism for describing multiscale representations of parallel coordinates and their interactions ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found