code: def __init__(self):
      self.reset()
  
imports: import paddle
  from paddle.distributed import ParallelEnv
  import os
  import json
  from collections import defaultdict, OrderedDict
  import numpy
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 1 to create a new AverageMeter object from inherited base classes: object with example: obj = AverageMeter()