add. Once the artifact has all the desired files, you can call
run.log_artifact() to log it.
class Artifact
Args
name: A human-readable name for the artifact. Use the name to identify a specific artifact in the W&B App UI or programmatically. You can interactively reference an artifact with theuse_artifactPublic API. A name can contain letters, numbers, underscores, hyphens, and dots. The name must be unique across a project.type: The artifact’s type. Use the type of an artifact to both organize and differentiate artifacts. You can use any string that contains letters, numbers, underscores, hyphens, and dots. Common types includedatasetormodel. Includemodelwithin your type string if you want to link the artifact to the W&B Model Registry. Note that some types reserved for internal use and cannot be set by users. Such types includejoband types that start withwandb-.description: A description of the artifact. For Model or Dataset Artifacts, add documentation for your standardized team model or dataset card. View an artifact’s description programmatically with theArtifact.descriptionattribute or programmatically with the W&B App UI. W&B renders the description as markdown in the W&B App.metadata: Additional information about an artifact. Specify metadata as a dictionary of key-value pairs. You can specify no more than 100 total keys.incremental: UseArtifact.new_draft()method instead to modify an existing artifact.use_as: Deprecated.storage_region: