I recently started using the
wandb.Api() in order not to manually download all the Charts in
The problem is that I cannot get consistent results, most of the times that I call the API in a jupyter-notebook I get different results.
I have made public one of my dashboards to tackle this issue. Here is a screenshot with a reproducible example:
In order to obtain the
csv_val_f1 variable one just needs to download the
Val F1 chart. Two things can be seen here:
- Multiple runs of the same code produce different results
- The maximum value obtained by the API differs from the maximum value obtained by manually downloading the
.csv version of the Chart.
Any ideas on what I’m missing?
I am experiencing the same issue.
I wanted to generate matplotlib plots using the API, but run.history() shows different results at each call so that it is impossible to reproduce the wandb charts .
Hi @jaeheelee and @carloshernandezp,
I believe you are seeing this because we sample the data points when you call
run.history(). You can use
run.scan_history() if you would like to have the entire history returned. Here is some more information on this.
Let me know if this solves the issue for you.
Yes, this solved my problem. Thank you @nathank !
This indeed solved the issue. Thank you for answering!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.