diff --git a/Project.toml b/Project.toml index 1e15daab8..0bbf5f9fc 100644 --- a/Project.toml +++ b/Project.toml @@ -34,7 +34,7 @@ ImageCore = "0.8, 0.9" LightGraphs = "1.3" OnlineStats = "1.5" Parameters = "0.12" -PrettyTables = "0.10, 0.11, 0.12, 1" +PrettyTables = "1, 1.1, 1.2" ProgressMeter = "1.4" Reexport = "1.0" TensorBoardLogger = "0.1" diff --git a/src/callbacks/callbacks.jl b/src/callbacks/callbacks.jl index b32a148b2..9b5487b17 100644 --- a/src/callbacks/callbacks.jl +++ b/src/callbacks/callbacks.jl @@ -53,7 +53,7 @@ function print_epoch_table(mvhistory, epoch, phase) header = vcat(["Phase", "Epoch"], string.(keys(mvhistory))) vals = [last(mvhistory, key) |> last for key in keys(mvhistory)] data = reshape(vcat([string(typeof(phase)), epoch], vals), 1, :) - pretty_table(data, header, formatters = PrettyTables.ft_round(5)) + pretty_table(data; header = header, formatters = PrettyTables.ft_round(5)) end stateaccess(::MetricsPrinter) = (; cbstate = (metricsepoch = Read(), history = Read())) diff --git a/src/callbacks/logging/logger.jl b/src/callbacks/logging/logger.jl index e0ad008bd..0f5fb014f 100644 --- a/src/callbacks/logging/logger.jl +++ b/src/callbacks/logging/logger.jl @@ -166,7 +166,7 @@ end function log_parameters(backends, x, name, epochs; group) params = Flux.trainable(x) if isempty(params) && x isa AbstractArray - log_to( + log_to( backends, Loggables.Histogram(vec(x)), name,