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.results = construct_toy_data(poly2mask=True)
      self.pipeline = [
          dict(type="Sharpness"),
          dict(type="Contrast"),
          dict(type="Brightness"),
          dict(type="Rotate"),
          dict(type="ShearX"),
          dict(type="TranslateY"),
      ]
  
file_path: mmdetection/tests/test_datasets/test_transforms/test_wrappers.py
imports: import copy
  import os.path
  import unittest
  from mmcv.transforms import Compose
  from mmdet.datasets.transforms import MultiBranch, RandomOrder
  from mmdet.utils import register_all_modules
  from .utils import construct_toy_data
label_desc: Use image node_id 1 for calling the TestRandomOrder obj's underlying member method code with example usage: obj.setUp() without return types