Skip to content

Commit

Permalink
Switched to make_event instead
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMair committed Jul 13, 2023
1 parent dbb4167 commit 4ae9bde
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 4ae9bde

Please sign in to comment.