Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 976 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 976 Bytes

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