Julia 프로그래밍 언어로 기계 학습 Experiments 를 실행하는 사용자를 위해 커뮤니티 기여자가 wandb.jl 이라는 비공식 Julia 바인딩 세트를 만들었습니다.wandb.jl 저장소의 documentation 에서 예제를 찾을 수 있습니다. “Getting Started” 예제는 다음과 같습니다.
using Wandb, Dates, Logging# Start a new run, tracking hyperparameters in configlg = WandbLogger(project = "Wandb.jl", name = "wandbjl-demo-$(now())", config = Dict("learning_rate" => 0.01, "dropout" => 0.2, "architecture" => "CNN", "dataset" => "CIFAR-100"))# Use LoggingExtras.jl to log to multiple loggers togetherglobal_logger(lg)# Simulating the training or evaluation loopfor 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")) # Log metrics from your script to W&B @info "metrics" accuracy=acc loss=lossend# Finish the runclose(lg)