wandb.apis.public.Run
Last updated
Last updated
A single run associated with an entity and project.
create
Create a run for the given project
delete
Deletes the given run from the wandb backend.
file
Arguments: name (str): name of requested file.
files
Arguments: names (list): names of the requested files, if empty returns all files per_page (int): number of results per page
history
Returns sampled history metrics for a run. This is simpler and faster if you are ok with the history records being sampled.
load
log_artifact
Declare an artifact as output of a run.
logged_artifacts
save
scan_history
Returns an iterable collection of all history records for a run.
Export all the loss values for an example run
snake_to_camel
update
Persists changes to the run object to the wandb backend.
upload_file
Arguments: path (str): name of file to upload. root (str): the root path to save the file relative to. i.e. If you want to have the file saved in the run as "my_dir/file.txt" and you're currently in "my_dir" you would set root to "../"
use_artifact
Declare an artifact as an input to a run.
used_artifacts
Returns
A File
matching the name argument.
Returns
A Files
object, which is an iterator over File
obejcts.
Arguments
samples (int, optional): The number of samples to return pandas (bool, optional): Return a pandas dataframe keys (list, optional): Only return metrics for specific keys x_axis (str, optional): Use this metric as the xAxis defaults to _step stream (str, optional): "default" for metrics, "system" for machine metrics
Returns
If pandas=True returns a pandas.DataFrame
of history metrics. If pandas=False returns a list of dicts of history metrics.
Arguments
artifact (Artifact
): An artifact returned from wandb.Api().artifact(name)
aliases (list, optional): Aliases to apply to this artifact
Returns
A Artifact
object.
Arguments
keys ([str], optional): only fetch these keys, and only fetch rows that have all of keys defined. page_size (int, optional): size of pages to fetch from the api
Returns
An iterable collection over history records (dict).
Returns
A File
matching the name argument.
Arguments
artifact (Artifact
): An artifact returned from wandb.Api().artifact(name)
Returns
A Artifact
object.
Attributes