Skip to main content
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

Usage

wandb artifact get [OPTIONS] PATH

Options

FlagTypeDescription
--rootSTRINGDirectory to download the artifact to. Uses the default artifact cache if not set. Default: None
--typeSTRINGExpected artifact type. Fails if the artifact does not match. Default: None
--helpBOOLShow this message and exit. Default: False