code: def data_generator(self) -> Generic:
      raise NotImplementedError
  
imports: from collections import namedtuple
  from typing import Callable, Generator, Generic, List
  import numpy
  from paddlehub.utils.log import logger
  from paddlehub.compat.task import tokenization
  from paddlehub.compat.task.batch import pad_batch_data
label_desc: Use image node_id 5 for calling the BaseReader obj's underlying member method code with example usage: obj.data_generator() without return types