code: def dataloader(
      trial: mh_mmdet.MMDetTrial,
  ) -> Generator[torch.utils.data.DataLoader, None, None]:
      mh_utils.download_url(
          "/tmp",
          "http://images.cocodataset.org/annotations/annotations_trainval2017.zip",
      )
      shutil.unpack_archive("/tmp/annotations_trainval2017.zip", "/tmp")
      det_data_loader = trial.build_training_data_loader()
      data_loader = det_data_loader.get_data_loader()
      trial.context._current_batch_idx = 0
      trial.context._epoch_len = len(data_loader)
      yield data_loader
  
      # cleanup
      os.remove("/tmp/annotations_trainval2017.zip")
      cleanup_dir("/tmp/annotations")
  
imports: import os
  import shutil
  from typing import Generator
  import git
  import pytest
  import torch
  import determined
  import determined.pytorch
  import model_hub.mmdetection
  import model_hub.mmdetection._callbacks
  import model_hub.utils
  from determined.common import util
label_desc: Use image node_id 5 for calling a global function with example usage: dataloader(trial) without return types