utils.load_statistics
utils.load_statistics(
log_path,
iteration_number=None,
verbose=True
)
Reads in a statistics object from log_path.
Args:
log_path
: string, provides the full path to the training/eval
statistics.iteration_number
: The iteration number of the statistics object we
want to read. If set to None, load the latest version.verbose
: Whether to output information about the load procedure.
Returns:
data
: The requested statistics object.iteration
: The corresponding iteration number.
Raises:
Exception
: if data is not present.