utils.stats.basic_stats
Basic Stats module.
StatInitArguments Objects#
Stats Arguments.
BasicStats Objects#
Basis Stats class provides a common place for collects long interval stats and step interval stats that can be recorded in the various writers provided at the time of calling rebuild() in trainer. This class is used as a Singleton pattern via global_stats provided in the init.py file.
rebuild#
Rebuild Stat Args and Writers.
reset#
Reset all stats.
reset_short#
Reset step interval stats.
reset_long#
Reset long interval stats.
update#
Update step interval and long interval scalar stats.
update_multi#
Update step interval and long interval multiple scalar stats.
update_matplotlib_figure#
Update matplotlib figure.
update_image#
Update image. Will be logged with infrequent metric.
update_pr#
Update pr curve stats. Only binary classification preds = probabilities
update_histogram#
Update histogram stats.
update_embedding#
Update embeddings. Used to project embeddings with corresponding labels (numerical).
update_system_stats#
Update system stats related to Memory and Compute (CPU and GPUs) usage.
log_long_stats#
Log long interval stats to correponding writers.
log_args#
Log Arguments to correponding writers.
log_model#
Log model to correponding writers.
log_graph#
Log graph to correponding writers.
finish#
Call finish() on all writers.