avik-pal / Wandb.jl

Unofficial Julia bindings for logging experiments to wandb.ai
https://avik-pal.github.io/Wandb.jl/stable/
MIT License
80 stars 10 forks source link

Wandb.jl

Latest Docs Stable Docs

Unofficial Julia Bindings for wandb.ai.

Installation

To install simply do the following in a Julia REPL

] add Wandb

Quick Start

Follow the quickstart points 1 and 2 to get started with a Wandb account.

using Wandb, Logging

# Initialize the project
lg = WandbLogger(; project = "Wandb.jl", name = nothing)

# Set logger globally / in scope / in combination with other loggers
global_logger(lg)

# Logging Values
Wandb.log(lg, Dict("accuracy" => 0.9, "loss" => 0.3))

# Even more conveniently
@info "metrics" accuracy=0.9 loss=0.3
@debug "metrics" not_print=-1  # Will have to change debug level for this to be logged

# Tracking Hyperparameters
update_config!(lg, Dict("dropout" => 0.2))

# Close the logger
close(lg)

Changelog

v0.5

v0.5.0

v0.4

v0.4.4

v0.4.3

v0.4.2

v0.4.1

v0.4.0