code: def test_time_out_detection():
      time_limit = 15
      from gluoncv.auto.tasks import ObjectDetection
  
      task = ObjectDetection(
          {
              "num_trials": 1,
              "epochs": 5,
              "time_limits": time_limit,
              "batch_size": 4,
          }
      )
      tic = time.time()
      detector = task.fit(OBJECT_DETECTION_TRAIN)
      # check time_limit with a little bit overhead
      assert (time.time() - tic) < time_limit + 180
  
file_path: gluon-cv/tests/auto/test_auto_tasks.py
imports: from gluoncv.auto.tasks import ImageClassification
  from gluoncv.auto.tasks import ObjectDetection
  import autogluon.core
  import time
  from nose.tools import nottest
  import unittest
label_desc: Use image node_id 6 for calling a global function with example usage: test_time_out_detection() without return types