class_docstr: Computes and stores the average and current value
code: def __init__(self):
      self.history = []
      self.reset()
  
imports: import gzip
  import json
  import logging
  import time
  import warnings
  from collections.abc import Iterable
  from itertools import cycle
  import matplotlib
  import matplotlib.pyplot
  import numpy
  from matplotlib import colors
  from pytorch3d.implicitron.tools.vis_utils import get_visdom_connection
label_desc: Use image node_id 1 to create a new AverageMeter object  with example: obj = AverageMeter()