Skip to content

Commit

Permalink
Switched to make_event instead
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Mair <[email protected]>
  • Loading branch information
JamieMair committed Jul 16, 2023
1 parent 234dc12 commit 3323b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hparams.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function write_hparams!(logger::TBLogger, hparams::Dict{String, Any}, metrics::A
session_end_summary = Summary([Summary_Value("", SESSION_END_INFO_TAG, session_end_md, nothing)])

for s in (experiment_summary, session_start_summary, session_end_summary)
event = Event(zero(Float64), zero(Int64), OneOf(:summary, s), nothing)
event = make_event(logger, s)
write_event(logger, event)
end
nothing
Expand Down

0 comments on commit 3323b7d

Please sign in to comment.