Hi there!
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})