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. For example, to download the latest version of an artifact called “processed-training-set” from the “foobar” project under the “team-awesome” entity:
$ wandb artifact get team-awesome/foobar/processed-training-set:latest
To download a specific version (v2) of the “processed-training-set” artifact to a local directory (./data):
$ wandb artifact get --root ./data team-awesome/foobar/processed-training-set:v2

Usage

wandb artifact get PATH [OPTIONS]

Arguments

ArgumentDescriptionRequired
PATHNo description availableYes

Options

OptionDescription
--rootDirectory to download the artifact to. Uses the default artifact cache if not set.
--typeExpected artifact type. Fails if the artifact does not match.