Add files to run

Hello Everyone,

I want to add pickle file to one of my run. How can I login to that run and add file. We cannot simple add files via GUI. suggested API code is not working. It would be great if someone can help me with that.

Thank you in advance.

You can use W&B Artifacts to log files to a run. Have you tried using Artifacts?

These docs will help you do that.

Happy to help further if you have any issues.

I figured it out.

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

with command above you can login to your run and then add file.

How to get run ID:

  1. Go to that run in UI.
  2. Go to information section of the run
  3. you can see “Run path” → entity/project/<id>
1 Like

Thanks for sharing that answer. I’m glad you were able to do what you wanted with wandb.save. Here’s the docs for that for anybody that stumbles on this thread:

1 Like