Documentation Index
Fetch the complete documentation index at: https://translations.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Julia로 머신 러닝 실험을 실행하는 사용자를 위해 커뮤니티 기여자가 wandb.jl이라는 비공식 Julia 바인딩 패키지를 만들어 두었습니다.
wandb.jl 저장소의 문서에서 예제를 확인할 수 있습니다. 해당 문서의 “Getting Started” 예시는 다음과 같습니다:
using Wandb, Dates, Logging
# 새 실행을 시작하고, config에서 하이퍼파라미터를 추적합니다
lg = WandbLogger(project = "Wandb.jl",
name = "wandbjl-demo-$(now())",
config = Dict("learning_rate" => 0.01,
"dropout" => 0.2,
"architecture" => "CNN",
"dataset" => "CIFAR-100"))
# LoggingExtras.jl을 사용하여 여러 로거에 동시에 로그를 기록합니다
global_logger(lg)
# 학습 또는 평가 루프를 시뮬레이션합니다
for x ∈ 1:50
acc = log(1 + x + rand() * get_config(lg, "learning_rate") + rand() + get_config(lg, "dropout"))
loss = 10 - log(1 + x + rand() + x * get_config(lg, "learning_rate") + rand() + get_config(lg, "dropout"))
# 스크립트의 메트릭을 W&B에 기록합니다
@info "metrics" accuracy=acc loss=loss
end
# 실행을 종료합니다
close(lg)