Loading config values of a previous run to reproduce it

Hi all,

Say I have a run that had a good result, and I want to re-run it. What would be the recommended way to do this? How can I download a previous run’s config values to create a new run with the same config?

Thanks, Carlos

Hey Carlos, you can get the config by using our Public API. Here is a code snippet you can use:

import wandb
api = wandb.Api()

run = api.run("//<run_id>")
run.file(“config.yaml”).download()

You can also use the W&B Launch feature which is in beta at the moment. Here is a link to the documentation.

Best,
Arman

Great, that helps.

Thanks Arman

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