wandb.apis.public.File

View source on GitHubarrow-up-right

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

File(
    client, attrs
)

Attributes

Methods

delete

View sourcearrow-up-right

delete()

download

View sourcearrow-up-right

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