stats object counting time wrong
Summary: On each call of the stats.update the object calculates current average iteration time by getting time elapsed from the time_start and then dividing it by the current number of steps. It saves the result to AverageMeter object which when queried returns the average of things saved, so the time is averaged twice which biases it towards the start value (which is often larger). Reviewed By: kjchalup Differential Revision: D39206989 fbshipit-source-id: ccab5233d7aaca1ac4fd626fb329b83c7c0d6af9
Showing
Please register or sign in to comment