code: def get_dataset(data_path, module_name, transform, dataset_args):
      """
      获取训练dataset
      :param data_path: dataset文件列表，每个文件内以如下格式存储 ‘path/to/img\tlabel’
      :param module_name: 所使用的自定义dataset名称，目前只支持data_loaders.ImageDataset
      :param transform: 该数据集使用的transforms
      :param dataset_args: module_name的参数
      :return: 如果data_path列表不为空，返回对于的ConcatDataset对象，否则None
      """
      from . import dataset
  
      s_dataset = getattr(dataset, module_name)(
          transform=transform, data_path=data_path, **dataset_args
      )
      return s_dataset
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/data_loader/__init__.py
imports: import copy
  import PIL
  import numpy
  import paddle
  from paddle.io import DataLoader, DistributedBatchSampler, BatchSampler
  from paddle.vision import transforms
label_desc: Use image node_id 1 for calling a global function with example usage: get_dataset(data_path, module_name, transform, dataset_args) and returns: s_dataset