I can log time-dependent variables against a custom metric (e.g. performance array by time array) only once. However, I regularly re-evaluate runs and want the logs to update the history logs. This does not work irrespective of the “overwrite” flag in define_metric(), is not the behavior I would expect.
Could allow for overwriting? Here is a sample, that, if ran 2 times with different values, won’t update the logs.
# values = [1, 1]
# years = [2020, 2021]
wandb.define_metric("year", overwrite=True)
wandb.define_metric("performance", step_metric="year", overwrite=True)
for i, y in enumerate(years):
wandb.log({"performance": values[i], "year": y})
I appreciate you providing the some information for your concern. Can you also send the debug.log and debug-internal.log file. These files are under your local folder wandb/run-<date>_<time>-<run-id>/logs in the same directory where you’re running your code.
Hi @juliusge , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!