Skip to main content
GitHub source

Usage

Usage: get [OPTIONS] PATH

Description

Download an artifact from W&B by its path. The PATH format is entity/project/artifact_name:version. If the version is omitted, use the latest alias.

Examples

Download the latest version of an artifact called “processed-training-set” from the “foobar-project” project under the “team-awesome” entity.
wandb artifact get team-awesome/foobar-project/processed-training-set:latest
Download a specific version (v2) of the “processed-training-set” artifact to a local directory (./data).
wandb artifact get --root ./data team-awesome/foobar-project/processed-training-set:v2

Arguments

NameDefaultType
pathSTRNoneTrue

Options

FlagTypeDescription
--rootSTRDirectory to download the artifact to. Uses the default artifact cache if not set. Default: None
--typeSTRExpected artifact type. Fails if the artifact does not match. Default: None