An artifact object you can write files into, and pass to log_artifact.
| add(obj, name)
obj to the artifact, located at
name. You can use Artifact#get(
name) after downloading the artifact to retrieve this object.
obj wandb.Media - The object to save in an artifact
name str - The path to save
If local_path was already added to artifact, return its internal name.
This is the JSON that's stored in wandb_manifest.json
If include_local is True we also include the local paths to files. This is used to represent an artifact that's waiting to be saved on the current system. We don't need to include the local paths in the artifact manifest contents.
Tracks paths as is, with no modification or special processing. Useful when paths being tracked are on file systems mounted at a standardized location.
For example, if the data to track is located on an NFS share mounted on /data, then it is sufficient to just track the paths.
Handles file:// references
Tracks files or directories on a local filesystem. Directories are expanded to create an entry for each file contained within.
Handles loading and storing Artifact reference-type files