docstr: Setup the model and optimizer which are used in every test method.
  
  TestCase calls functions in this order: setUp() -> testMethod() ->
  tearDown() -> cleanUp()
docstr_tok: ["Setup","the","model","and","optimizer","which","are","used","in","every","test","method",".","TestCase","calls","functions","in","this","order",":","setUp","(",")","-",">","testMethod","(",")","-",">","tearDown","(",")","-",">","cleanUp","(",")"]
code: def setUp(self):
      """Setup the model and optimizer which are used in every test method.
  
      TestCase calls functions in this order: setUp() -> testMethod() ->
      tearDown() -> cleanUp()
      """
      self.check_keys = (
          "img",
          "gt_bboxes",
          "gt_bboxes_labels",
          "gt_masks",
          "gt_ignore_flags",
          "gt_seg_map",
          "homography_matrix",
      )
      self.results_mask = construct_toy_data(poly2mask=True)
      self.img_fill_val = (104, 116, 124)
      self.seg_ignore_label = 255
  
file_path: mmdetection/tests/test_datasets/test_transforms/test_augment_wrappers.py
imports: import copy
  import unittest
  from mmdet.datasets.transforms import AutoAugment, AutoContrast, Brightness, Color, Contrast, Equalize, Invert, Posterize, RandAugment, Rotate, Sharpness, ShearX, ShearY, Solarize, SolarizeAdd, TranslateX, TranslateY
  from mmdet.utils import register_all_modules
  from .utils import check_result_same, construct_toy_data
label_desc: Use image node_id 1 for calling the TestRandAugment obj's underlying member method code with example usage: obj.setUp() without return types