Travis CI | Coveralls | LICENSE |
---|---|---|
- From REPL:
] add WeightsAndBiasLogger
- By code:
using Pkg; pkg"add WeightsAndBiasLogger"
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