Update an artifact
2 minute read
Pass desired values to update the description
, metadata
, and alias
of an artifact. Call the save()
method to update the artifact on the W&B servers. You can update an artifact during a W&B Run or outside of a Run.
Use the W&B Public API (wandb.Api
) to update an artifact outside of a run. Use the Artifact API (wandb.Artifact
) to update an artifact during a run.
The proceeding code example demonstrates how to update the description of an artifact using the wandb.Artifact
API:
The proceeding code example demonstrates how to update the description of an artifact using the wandb.Api
API:
For more information, see the Weights and Biases Artifact API.
You can also update an Artifact collection in the same way as a singular artifact:
For more information, see the Artifacts Collection reference.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.