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",
      )
      self.results_mask = construct_toy_data(poly2mask=True)
  
imports: import copy
  import unittest
  from mmdet.datasets.transforms import AutoContrast, Brightness, Color, ColorTransform, Contrast, Equalize, Invert, Posterize, Sharpness, Solarize, SolarizeAdd
  from .utils import check_result_same, construct_toy_data
label_desc: Use image node_id 1 for calling the TestBrightness obj's underlying member method code with example usage: obj.setUp() without return types