class_docstr: An interface between the Scenic DETR implementation and COCO evaluators.
class_docstr_tok: ["An","interface","between","the","Scenic","DETR","implementation","and","COCO","evaluators","."]
code: def __init__(self, num_classes):
      self._num_classes = num_classes
      self._num_examples_added = collections.defaultdict(int)
  
      # Maps from (task, dataset) to results.
      self._preds = {}
      self._labels = {}
  
imports: import collections
  import copy
  import functools
  from typing import Any, Dict, Mapping, Optional, Sequence, Tuple, Union
  from absl import logging
  import flax
  import flax.linen
  import jax
  import jax.numpy
  import ml_collections
  import numpy
  from scenic.common_lib import debug_utils
  from scenic.train_lib_deprecated import optimizers
  from scenic.train_lib_deprecated import train_utils
label_desc: Use image node_id 1 to create a new LayoutDenoiseGlobalEvaluator object  with example: obj = LayoutDenoiseGlobalEvaluator(num_classes)