WeightsAndBiasLogger.jl

Log to W&B from Julia
Author xukai92
Popularity
12 Stars
Updated Last
2 Years Ago
Started In
January 2020

WeightsAndBiasLogger.jl

Travis CI Coveralls LICENSE
Build Status Coverage Status License

Installation

  • From REPL: ] add WeightsAndBiasLogger
  • By code: using Pkg; pkg"add WeightsAndBiasLogger"

Demo

using Logging, WeightsAndBiasLogger

args = (n_epochs=1_000, lr=1e-3)

logger = WBLogger(project="sample-project")

config!(logger, args)

with(logger) do
    loss = 0
    for i in 1:args.n_epochs
        loss += randn() * args.lr
        @info "train" i=i loss=loss
    end
end

Used By Packages