code: def __init__(
      self,
      filename=FLAGS["dataset_dir"].value,
      batch_size=1,
      rescale=None,
      augmentation=False,
  ):
      self.filename = filename
      self.batch_size = batch_size
      self.image_extension = "jpg"
      self.rescale = rescale
      self.augmentation = augmentation
  
file_path: insightface/reconstruction/ostec/external/landmark_detector/data_provider.py
imports: import tensorflow
  import numpy
  from menpo.transform import Translation
  from external.landmark_detector.flags import FLAGS
label_desc: Use image node_id 1 to create a new ProtobuffProvider object from inherited base classes: object with example: obj = ProtobuffProvider(filename, batch_size, rescale, augmentation)