wandb.apis.public.File

View source on GitHub

File is a class associated with a file saved by wandb.

File(
    client, attrs
)

Attributes

Methods

delete

View source

delete()

download

View source

download(
    root=".", replace=(False)
)

Downloads a file previously saved by a run from the wandb server.

Arguments

replace (boolean): If True, download will overwrite a local file if it exists. Defaults to False. root (str): Local directory to save the file. Defaults to ".".

Raises

ValueError if file already exists and replace=False

Last updated

Was this helpful?