wandb.init는 메트릭을 클라우드에 실시간으로 동기화하는 프로세스를 시작합니다. 오프라인으로 사용하려면 두 개의 환경 변수를 설정해 오프라인 모드를 활성화한 다음, 나중에 동기화하세요.
다음 환경 변수를 설정하세요:
WANDB_API_KEY=$KEY, 여기서$KEY는 User Settings에서 생성한 API 키입니다.WANDB_MODE="offline".


Experiments 환경 변수 메트릭
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Help us improve these docs. Take our quick survey.
wandb.init는 메트릭을 클라우드에 실시간으로 동기화하는 프로세스를 시작합니다. 오프라인으로 사용하려면 두 개의 환경 변수를 설정해 오프라인 모드를 활성화한 다음, 나중에 동기화하세요.
다음 환경 변수를 설정하세요:
WANDB_API_KEY=$KEY, 여기서 $KEY는 User Settings에서 생성한 API 키입니다.WANDB_MODE="offline".import wandb
import os
os.environ["WANDB_API_KEY"] = "YOUR_KEY_HERE"
os.environ["WANDB_MODE"] = "offline"
config = {
"dataset": "CIFAR10",
"machine": "offline cluster",
"model": "CNN",
"learning_rate": 0.01,
"batch_size": 128,
}
with wandb.init(project="offline-demo") as run:
for i in range(100):
run.log({"accuracy": i})

wandb sync wandb/dryrun-folder-name

Was this page helpful?