How do I log an artifact to an existing run?
Support:
less than a minute
이따금씩, 이전에 기록된 run의 결과로 아티팩트를 표시해야 할 때가 있습니다. 이 경우, 이전 run을 다시 초기화하고 다음과 같이 새로운 아티팩트를 기록합니다.
with wandb.init(id="existing_run_id", resume="allow") as run:
artifact = wandb.Artifact("artifact_name", "artifact_type")
artifact.add_file("my_data/file.txt")
run.log_artifact(artifact)
피드백
이 페이지가 도움이 되었나요?
Glad to hear it! If you have further feedback, please let us know.
Sorry to hear that. Please tell us how we can improve.