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","."]
docstr: Gets result lists for the task and dataset.
docstr_tok: ["Gets","result","lists","for","the","task","and","dataset","."]
code: def _get_result_lists(self, task_name, ds_name):
      """Gets result lists for the task and dataset."""
      key = (task_name, ds_name)
      if key not in self._preds:
          self._preds[key] = []
      if key not in self._labels:
          self._labels[key] = []
      return self._labels[key], self._preds[key]
  
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 2 for calling the LayoutDenoiseGlobalEvaluator obj's underlying member method code with example usage: obj._get_result_lists(task_name, ds_name) and returns: self,  self