WeightsAndBiasLogger.jl

Log to W&B from Julia
Author xukai92
Popularity
8 Stars
Updated Last
1 Year 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

No packages found.