Config and summary logs gone after initialising a run again

After I finished a training run I wanted to upload a file, like shown here Add files to run - #2 by _scott
This worked fine, but after that all the config and summary logs were gone.

Is there a way to restore them?

If no, how can I save this file without loosing the logs?

Hey there, did. you use this code snippet?

run = wandb.init(project=<project_name>, id=<id>)
wandb.save(<file>)

Yes, I used exactly this code snippet.

I tried with several old runs and every time all the logs were deleted

Hey @fryderykkogl, apologies about the delay. The issue is that the code snippet is wrong. It reinitializes a run which cause the config and the summary to get overwritten. You should use this snippet if you want to upload files to a run.

​Hi @fryderykkogl, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.