class_docstr: Measures a scalar value (adapted from Detectron).
code: def get_global_avg(self):
      return self.total / self.count
  
imports: from collections import deque
  import numpy
  import pycls.core.logging
  import torch
  from pycls.core.config import cfg
  from pycls.core.timer import Timer
label_desc: Use image node_id 6 for calling the ScalarMeter obj's underlying member method code with example usage: obj.get_global_avg() and returns: unknown