class_docstr: Definition of a learning experience based on a :class:`DetectionScenario`
  instance.
  
  This experience implementation uses the generic experience-patterns
  assignment defined in the :class:`DetectionScenario` instance. Instances of
  this class are usually obtained from an object detection benchmark stream.
code: def benchmark(self) -> DetectionScenario:
      bench = self._benchmark
      DetectionExperience._check_unset_attribute("benchmark", bench)
      return bench
  
imports: from typing import Iterable, Mapping, Optional, Sequence, Set, Tuple, TypeVar, List, Callable, Union, overload
  import warnings
  from avalanche.benchmarks.scenarios.deprecated.dataset_scenario import ClassesTimelineCLScenario, DatasetScenario, FactoryBasedStream, TStreamsUserDict
  from avalanche.benchmarks.scenarios.deprecated import AbstractClassTimelineExperience
  from avalanche.benchmarks.utils.data import AvalancheDataset
  from avalanche.benchmarks.utils.dataset_utils import manage_advanced_indexing
  from avalanche.benchmarks.utils.detection_dataset import DetectionDataset
label_desc: Use image node_id 2 for calling the DetectionExperience obj's underlying member method code with example usage: obj.benchmark() and returns: bench