Skip to main content

File

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

File(
client, attrs
)
Attributes
path_uriReturns the uri path to the file in the storage bucket.

Methods

delete

View source

delete()

display

View source

display(
height=420, hidden=(False)
) -> bool

Display this object in jupyter.

download

View source

download(
root: str = ".",
replace: bool = (False),
exist_ok: bool = (False),
api: Optional[Api] = None
) -> io.TextIOWrapper

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

Args
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 ".". exist_ok (boolean): If True, will not raise ValueError if file already exists and will not re-download unless replace=True. Defaults to False. api (Api, optional): If given, the Api instance used to download the file.
Raises
ValueError if file already exists, replace=False and exist_ok=False.

snake_to_camel

View source

snake_to_camel(
string
)

to_html

View source

to_html(
*args, **kwargs
)
Was this page helpful?👍👎