sweep에서 가장 성능이 좋은 run의 artifact를 조회하려면 다음 코드를 사용하세요.Documentation Index
Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
Use this file to discover all available pages before exploring further.
Artifacts
Help us improve these docs. Take our quick survey.
sweep에서 가장 성능이 좋은 run의 artifact를 조회하려면 다음 코드를 사용하세요.Documentation Index
Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
Use this file to discover all available pages before exploring further.
api = wandb.Api()
sweep = api.sweep("entity/project/sweep_id")
runs = sorted(sweep.runs, key=lambda run: run.summary.get("val_acc", 0), reverse=True)
best_run = runs[0]
for artifact in best_run.logged_artifacts():
artifact_path = artifact.download()
print(artifact_path)
Was this page helpful?