Logging histgram does not work
See original GitHub issuewandb --version && python --version && uname
- Weights and Biases version: 0.9.4
- Python version: 3.6.9
- Operating System: Ubuntu
Description
I am trying to log a histogram into wandb. The run appears on wandb, but the histogram is not there. Other stuff such as scalars or Images is logged properly. What is wrong?
What I Did
` import wandb import numpy as np
wandb.init(entity=“MyEntity”, project=“my project”, name=“testing”) a = np.random.randn(100) hist = np.histogram(a) h = wandb.Histogram(np_histogram=hist) wandb.log({“gradients”: wandb.Histogram(np_histogram=hist)}) `
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9
Top Results From Across the Web
Logging histgram does not work · Issue #1211 - GitHub
I am trying to log a histogram into wandb. The run appears on wandb, but the histogram is not there. Other stuff such...
Read more >plotting a histogram on a Log scale with Matplotlib
For the record, I have imported pandas, numpy, and matplotlib and specified that the plot should be inline.
Read more >New histogram features in Cloud Logging to troubleshoot faster
Using the histogram in Logs Explorer, you can quickly visualize log volumes over time to help spot anomalies, detect when errors started and...
Read more >Histogram Guidelines
Don't Use the Same Histogram Logging Call in Multiple Places; Use Fixed Strings When Using Histogram Macros; Don't Use Same Inline String in...
Read more >How to use full-range log volume histograms with Grafana Loki
In the freshly released Grafana 8.4, we've enabled the full-range log volume histogram for the Grafana Loki data source by default.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aidanjdonohue i did, but with previously storing to var, so something like this:
After looking into it more, i realized that if i open only that specific experiment/run in wandb (meaning that url would be: https://wandb.ai/USER/PROJECT/runs/RUNID?workspace=user-USER) i can find histogram, but if i am looking in project/workspace (where on left side is list of all experiments, meaning url is https://wandb.ai/USER/PROJECT?workspace=user-USER) then histogram doesnt exist.
I contacted customer service and after explaining it all in details got this response:
I hope this helps someone else with same issue 🤞
I’m getting same issue. The run appears on wandb, but the histogram is not there while all other tables/charts are ok.
I tried generating histogram from sequence:
and also i tried using np.histogram
Weights and Biases version: 0.12.7 Python version: 3.8.10 Operating System: Ubuntu