Skip to content

Commit e4b5ff9

Browse files
authored
Merge branch 'JuliaLogging:master' into add-hparams-api
2 parents 1dfa89f + 881a2fd commit e4b5ff9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/TBLogger.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ export tb_append, tb_overwrite, tb_increment
3838
Creates a TensorBoardLogger in the folder `logdir`. The second (optional)
3939
argument specifies the behaviour if the `logdir` already exhists: the default
4040
choice `tb_increment` appends an increasing number 1,2... to `logdir`. Other
41-
choices are `tb_overwrite`, which overwrites the previous folder, and `tb_append`.
41+
choices are `tb_overwrite`, which overwrites the previous folder, and `tb_append`,
42+
which adds to any existing logs.
4243
4344
Optional keyword argument `prefix` can be passed to prepend a path to the file
4445
name (note, not the log directory). See `create_eventfile()`
@@ -347,4 +348,4 @@ function with_TBLogger_hold_step(f; step_at_end::Bool=true)
347348
logger = CoreLogging.current_logger()
348349
isa(logger, TBLogger) || error("with_TBLogger_hold_step: current logger is not a TBLogger, cannot establish current step automatically")
349350
with_TBLogger_hold_step(f, logger.global_step; step_at_end=step_at_end)
350-
end
351+
end

0 commit comments

Comments
 (0)