wandb.plot.histogram only contains part of the data points
See original GitHub issueHi, thanks for this excellent product!
I tried to log a histogram, but find that the plot only contains part of the data points. Here are my steps: Firstly I created a wandb Table
object with the data that I want to plot. Then I use wandb.plot.histogram
to plot the data. But I find the histogram only contains part of the data in the Table object.
The code is as follows,
prob1_data = [[ID_train[i], losses[i]] for i in range(len(ID_train))]
print(len(prob1_data)) #37,115
table1 = wandb.Table(data=prob1_data, columns=['IDs', 'losses'])
wandb.log({
'losses_distribution_for_model1': wandb.plot.histogram(table1, 'losses', title="losses for model1"),
})
Here is the screenshot of the histogram (you can see that there are only a few thousand data points):
Here is the screenshot of the table (there are 37,115 data points):
Could you please take a look? Thank you very much!
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
wandb.plot.histogram only contains part of the data points #3921
Here are my steps: Firstly I created a wandb Table object with the data that I want to plot. Then I use wandb.plot.histogram...
Read more >Reference - Documentation - Weights & Biases - Wandb
You can set the y-axis variables to any value you have logged with wandb.log as long as you were logging numbers, arrays of...
Read more >Log Plots - Documentation - Weights & Biases - Wandb
Histogram. Multi-line. wandb.plot.line(). Log a custom line plot—a list of connected and ordered points on arbitrary axes. data = [[x, y] for (x, ......
Read more >Wave a wandb.plot() to Visualize – Weights & Biases
How to visualize classification models in a few lines with the W&B Python API. Made by Stacey Svetlichnaya using Weights & Biases.
Read more >Log Data with wandb.log - Documentation - Weights & Biases
Log Data with wandb.log. Keep track of metrics, videos, custom plots, and more. Call wandb.log(dict) to log a dictionary of metrics, media, or...
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 Free
Top 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
Hi @LiuCMU ,
If you have more than the allowed points on a chart, we non deterministically downsample before we send your browser the data.
WandB Internal User commented: LiuCMU commented: Makes sense! Thank you very much!