class_docstr: This trial serves as the trainer for MMDetection models.  It replaces the
  `mmcv runner used by MMDetection
  <https://github.com/open-mmlab/mmdetection/blob/master/mmdet/apis/train.py>`_.
  
  For nearly all use cases, you can just use this trial definition and control behavior
  by changing the MMDetection config.  If you want to customize the trial further, you
  can use this trial as the starting point.
class_docstr_tok: ["This","trial","serves","as","the","trainer","for","MMDetection","models",".","It","replaces","the","`","mmcv","runner","used","by","MMDetection","<","https",":","\/\/github.com\/open-mmlab\/mmdetection\/blob\/master\/mmdet\/apis\/train.py",">","`","_",".","For","nearly","all","use","cases",",","you","can","just","use","this","trial","definition","and","control","behavior","by","changing","the","MMDetection","config",".","If","you","want","to","customize","the","trial","further",",","you","can","use","this","trial","as","the","starting","point","."]
code: def build_training_data_loader(self) -> det_torch.DataLoader:
      dataset, dataloader = data.build_dataloader(
          self.cfg.data,
          "train",
          self.context,
          True,
      )
      self.model.CLASSES = dataset.CLASSES  # type: ignore
      return dataloader
  
imports: import logging
  import os
  from typing import Any, Dict, List
  import mmcv
  import mmcv.parallel
  import mmcv.runner
  import mmdet.core
  import mmdet.datasets
  import mmdet.models
  import numpy
  import torch
  import determined.pytorch
  from determined.common import set_logger
  from model_hub import utils
  from model_hub.mmdetection import _callbacks
  from model_hub.mmdetection import _data
  from model_hub.mmdetection import _data_backends
  from model_hub.mmdetection import utils
label_desc: Use image node_id 7 for calling the MMDetTrial obj's underlying member method code with example usage: obj.build_training_data_loader() and returns: dataloader