Skip to main content

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.

W&B에서 메트릭 이름은 UI에서 제대로 정렬 및 필터링되도록 GraphQL 명명 규칙을 따라야 합니다.

유효한 메트릭 이름

  • 허용 문자: 영문자(A-Z, a-z), 숫자(0-9), 밑줄(_)
  • 시작 문자: 이름은 영문자 또는 밑줄로 시작해야 합니다
  • 패턴: 메트릭 이름은 /^[_a-zA-Z][_a-zA-Z0-9]*$/ 패턴과 일치해야 합니다
이 규칙을 따르지 않는 메트릭은 W&B UI에서 정렬하거나 필터링할 수 없을 수 있습니다.

예시

유효한 메트릭 이름:
with wandb.init() as run:
  run.log({"accuracy": 0.9, "val_loss": 0.1, "epoch_5": 5})
  run.log({"modelAccuracy": 0.95, "learning_rate": 0.001})
유효하지 않은 메트릭 이름(다음은 피하세요):
with wandb.init() as run:
  run.log({"acc,val": 0.9})  # 쉼표 포함
  run.log({"loss-train": 0.1})  # 하이픈 포함
  run.log({"test acc": 0.95})  # 공백 포함
  run.log({"5_fold_cv": 0.8})  # 숫자로 시작
유효하지 않은 문자를 밑줄(_)과 같은 유효한 문자로 바꾸세요:
  • "test acc" 대신 "test_acc"를 사용하세요
  • "loss-train" 대신 "loss_train"을 사용하세요
  • "acc,val" 대신 "acc_val"을 사용하세요
자세한 내용은 메트릭 이름 지정 제약 사항을 참조하세요.
Experiments 메트릭