polyaxon.estimators.hooks.episode_hooks.EpisodeLoggingTensorHook(tensors, every_n_episodes, formatter=None)
Monitor to request stop at a specified episode.
polyaxon.estimators.hooks.episode_hooks.EpisodeSummarySaverHook(save_episodes=None, output_dir=None, summary_writer=None, scaffold=None, summary_op=None)
Saves summaries every N episode.
int, save summaries every N episodes. Exactly one of
save_episodesshould be set.
string, the directory to save the summaries to. Only used if no
output_dirwas passed, one will be created accordingly.
Scaffoldto get summary_op if it's not provided.
stringcontaining the serialized
Summaryprotocol buffer or a list of
Tensor. They are most likely an output by TF summary methods like
tf.summary.merge_all. It can be passed in as one tensor; if more than one, they must be passed in as a list.
- ValueError: Exactly one of scaffold or summary_op should be set.
TimeSteps and Seconds per episode.