wandb.save

View source on GitHub

Ensure all files matching glob_str are synced to wandb with the policy specified.

save(
    glob_str: Optional[str] = None,
    base_path: Optional[str] = None,
    policy: str = "live"
) -> Union[bool, List[str]]

Arguments

glob_str

(string) a relative or absolute path to a unix glob or regular path. If this isn't specified the method is a noop.

base_path

(string) the base path to run the glob relative to

policy

(string) on of live, now, or end - live: upload the file as it changes, overwriting the previous version - now: upload the file once now - end: only upload file when the run ends

Last updated

Was this helpful?