class_docstr: Dataset class for the MS COCO Object Detection using Single Shot Object Detector (SSD).
  
  Args:
      opts: Command-line arguments
docstr: Data augmentation during validation or evaluation.
  
  Default order of transformation is Resize, BoxPercentCoords, ToTensor.
  
  Args:
      size: Size for resizing the input image. Expected to be a tuple (height, width)
  
  Returns:
      An instance of `data.transforms.common.Compose.`
docstr_tok: ["Data","augmentation","during","validation","or","evaluation",".","Default","order","of","transformation","is","Resize",",","BoxPercentCoords",",","ToTensor",".","Args",":","size",":","Size","for","resizing","the","input","image",".","Expected","to","be","a","tuple","(","height",",","width",")","Returns",":","An","instance","of","`","data.transforms.common.Compose.","`"]
code: def _validation_transforms(
      self, size: Tuple[int, int], *args, **kwargs
  ) -> Compose:
      """Data augmentation during validation or evaluation.
  
      Default order of transformation is Resize, BoxPercentCoords, ToTensor.
  
      Args:
          size: Size for resizing the input image. Expected to be a tuple (height, width)
  
      Returns:
          An instance of `data.transforms.common.Compose.`
      """
      aug_list = [
          T.Resize(opts=self.opts),
          T.BoxPercentCoords(opts=self.opts),
          T.ToTensor(opts=self.opts),
      ]
      return Compose(opts=self.opts, img_transforms=aug_list)
  
imports: import argparse
  import math
  from typing import List, Mapping, Tuple, Union
  import torch
  from torch import Tensor
  from cvnets.anchor_generator import build_anchor_generator
  from cvnets.matcher_det import build_matcher
  from data.collate_fns import COLLATE_FN_REGISTRY
  from data.datasets import DATASET_REGISTRY
  from data.datasets.detection.coco_base import COCODetection
  from data.transforms import image_pil
  from data.transforms.common import Compose
  from utils import logger
label_desc: Use image node_id 3 for calling the COCODetectionSSD obj's underlying member method code with example usage: obj._validation_transforms(size) and returns: Compose