class_docstr: Base class for the MS COCO Object Detection Dataset. Sub-classes should implement
  training and validation transform functions.
  
  Args:
      opts: command-line arguments
  
  .. note::
      This class implements basic functions (e.g., reading image and annotations), and does not implement
      training/validation transforms. Detector specific sub-classes should extend this class and implement those
      methods. See `coco_ssd.py` as an example for SSD.
class_docstr_tok: ["Base","class","for","the","MS","COCO","Object","Detection","Dataset",".","Sub-classes","should","implement","training","and","validation","transform","functions",".","Args",":","opts",":","command-line","arguments","..","note",":",":","This","class","implements","basic","functions","(","e.g.",",","reading","image","and","annotations",")",",","and","does","not","implement","training\/validation","transforms",".","Detector","specific","sub-classes","should","extend","this","class","and","implement","those","methods",".","See","`","coco_ssd.py","`","as","an","example","for","SSD","."]
code: def extra_repr(self) -> str:
      return (
          super().extra_repr() + f"\n\t num_classes={self.num_classes}"
      )
  
imports: import argparse
  import os
  from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
  import numpy
  import torch
  from pycocotools import mask
  from pycocotools.coco import COCO
  from torch import Tensor
  from data.datasets import DATASET_REGISTRY
  from data.datasets.detection.base_detection import BaseDetectionDataset
  from data.transforms import image_pil
  from data.transforms.common import Compose
  from utils import logger
label_desc: Use image node_id 10 for calling the COCODetection obj's underlying member method code with example usage: obj.extra_repr() and returns: unknown