Skip to main content

Usage

Description

Upload an artifact to W&B. Upload a file, directory, or URL reference as a versioned artifact. The PATH can be a local file, a local directory, or a URL (containing ://) to log as a reference artifact. If --name is not specified, the artifact name defaults to the basename of the path. If the project cannot be parsed from the name, you are prompted to enter one. For example, to upload all files in a local directory ./data/training as a dataset artifact in W&B:
To upload model.pt to the “foobar” project and assign “trained-model” as the artifact name:
To tag the artifact with both “latest” and “v2.0” so it can be referenced by either alias:
To record an Amazon S3 path as a reference without downloading or re-uploading the data:
To attach a human-readable description to a dataset artifact for documentation:

Arguments

Options