Where are artifacts downloaded, and how can I control that?

기본적으로 아티팩트는 artifacts/ 폴더에 다운로드됩니다. 위치를 변경하려면 다음을 수행하세요.

  • wandb.Artifact().download 에 전달합니다.

    wandb.Artifact().download(root="<path_to_download>")
    
  • WANDB_ARTIFACT_DIR 환경 변수 를 설정합니다.

    import os
    os.environ["WANDB_ARTIFACT_DIR"] = "<path_to_download>"