File
less than a minute
File is a class associated with a file saved by wandb.
File(
    client, attrs, run=None
)
| Attributes | |
|---|---|
| path_uri | Returns the uri path to the file in the storage bucket. | 
Methods
delete
delete()
display
display(
    height=420, hidden=(False)
) -> bool
Display this object in jupyter.
download
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 toFalse. root (str): Local directory to save the file. Defaults to “.”. exist_ok (boolean): IfTrue, will not raise ValueError if file already exists and will not re-download unless replace=True. Defaults toFalse. api (Api, optional): If given, theApiinstance used to download the file. | 
| Raises | |
|---|---|
| ValueErrorif file already exists, replace=False and exist_ok=False. | 
snake_to_camel
snake_to_camel(
    string
)
to_html
to_html(
    *args, **kwargs
)
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.