function restore
name
: The name of the file.run_path
: Optional path to a run to pull files from, i.e.username/project_name/run_id
if wandb.init has not been called, this is required.replace
: Whether to download the file even if it already exists locallyroot
: The directory to download the file to. Defaults to the current directory or the run directory if wandb.init was called.
CommError
: If W&B can’t connect to the W&B backend.ValueError
: If the file is not found or can’t find run_path.