code: def setUp(self):
      super().setUp()
      dataset_folder = task_test_utils.get_test_data_path("coco_data")
      cache_dir = self.create_tempdir()
      self.data = object_detector.Dataset.from_coco_folder(
          dataset_folder, cache_dir=cache_dir
      )
      # Mock tempfile.gettempdir() to be unique for each test to avoid race
      # condition when downloading model since these tests may run in parallel.
      mock_gettempdir = unittest_mock.patch.object(
          tempfile,
          "gettempdir",
          return_value=self.create_tempdir(),
          autospec=True,
      )
      self.mock_gettempdir = mock_gettempdir.start()
      self.addCleanup(mock_gettempdir.stop)
  
file_path: mediapipe/mediapipe/model_maker/python/vision/object_detector/object_detector_test.py
imports: import os
  import tempfile
  from unittest import mock
  from absl.testing import parameterized
  import tensorflow
  from mediapipe.model_maker.python.vision import object_detector
  from mediapipe.tasks.python.test import test_utils
label_desc: Use image node_id 1 for calling the ObjectDetectorTest obj's underlying member method code with example usage: obj.setUp() without return types