A Custom Run Hook for Saving Metrics History

This hook allows users to save the metrics history produced during training or evaluation in a specified frequency.

hook_history_saver(every_n_step = 10)

Arguments

every_n_step

Save the metrics every N steps

See also

Other session_run_hook wrappers: hook_checkpoint_saver, hook_global_step_waiter, hook_logging_tensor, hook_nan_tensor, hook_progress_bar, hook_step_counter, hook_stop_at_step, hook_summary_saver, session_run_hook