description, metadata, and alias of an existing artifact.
When to use wandb.Artifact.save() or wandb.Run.log_artifact()
- Use
Artifact.save()to update an existing artifact without starting a new run. - Use
wandb.Run.log_artifact()to create a new artifact and associate it with a specific run.
wandb.Api) to update an artifact outside of a run, or use the wandb.Artifact class while a run is active.
- During a run
- W&B Public API
- With collections
The following code example shows how to update the description of an artifact with the
wandb.Artifact API: