util.plot_utils =============== .. py:module:: util.plot_utils .. autoapi-nested-parse:: Plotting utilities to visualize training logs. Functions --------- .. autoapisummary:: util.plot_utils.plot_logs Module Contents --------------- .. py:function:: plot_logs(logs, fields=('class_error', 'loss_bbox_unscaled', 'mAP'), ewm_col=0, log_name='log.txt') Function to plot specific fields from training log(s). Plots both training and test results. :: Inputs - logs = list containing Path objects, each pointing to individual dir with a log file - fields = which results to plot from each log file - plots both training and test for each field. - ewm_col = optional, which column to use as the exponential weighted smoothing of the plots - log_name = optional, name of log file if different than default 'log.txt'. :: Outputs - matplotlib plots of results in fields, color coded for each log file. - solid lines are training results, dashed lines are test results.