Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
이 예제에서는 wandb.Run.log()을 사용해 loss를 두 가지 방식으로 기록하는 방법을 보여줍니다.
import wandb
# 새 run 시작
with wandb.init(project="log-list-values", name="log-dict") as run:
# loss를 딕셔너리로 기록
losses = [0.1, 0.2, 0.3, 0.4, 0.5]
run.log({"losses": losses})
run.log({f"losses/loss-{ii}": loss for ii, loss in enumerate(losses)})
import wandb
# 새 run 시작
with wandb.init(project="log-list-values", name="log-hist") as run:
# loss를 히스토그램으로 기록
losses = [0.1, 0.2, 0.3, 0.4, 0.5]
run.log({"losses": wandb.Histogram(losses)})
자세한 내용은 logging 문서를 참조하세요.
로그
Experiments