It is a very simple question. But I don’t know why the answer is not very easy to find. Here I use
wandb.Api().runs() to get the runs for a project. How can I get the model for a run? I need the artifact name but I cannot get it from the run (I do not want to go the overview page of the run to copy the path).
api = wandb.Api() runs = api.runs("<entity>/<project-name>") artifact0 = runs.used_artifacts() artifact0.download()
This does not return the model but the job.
Is there a way to get the model or the artifact name from the run?