          self.input_size = 224
          # Average image provided in https://github.com/ox-vgg/vgg_face2
          self.average_img = np.array([91.4953, 103.8827, 131.0912])
  
          self.model = self._get_model(git_model_id, model_filename, backend)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      # <<< GET MODEL >>> #
      @staticmethod
      def _get_model(git_model_id, model_filename, backend):
 
</s> remove     def _get_model(git_model_id, model_filename, backend):
 </s> add     def _get_model(git_model_id, model_filename, backend, allow_growth): </s> remove     def __init__(self, backend="GPU", loglevel="INFO"):
        logger.debug("Initializing %s: (backend: %s, loglevel: %s)",
                     self.__class__.__name__, backend, loglevel)
 </s> add     def __init__(self, backend="GPU", allow_growth=False, loglevel="INFO"):
        logger.debug("Initializing %s: (backend: %s, allow_growth: %s, loglevel: %s)",
                     self.__class__.__name__, backend, allow_growth, loglevel) </s> remove             self.vgg_face = VGGFace(backend=self.args.backend, loglevel=self.args.loglevel)
 </s> add             conf = Config("global", configfile=self.args.configfile)
            allow_growth = (conf.config_dict["allow_growth"] and
                            self.args.backend.lower() == "gpu" and
                            get_backend() == "nvidia")
            self.vgg_face = VGGFace(backend=self.args.backend,
                                    allow_growth=allow_growth,
                                    loglevel=self.args.loglevel)
        self.model = self._get_model(git_model_id, model_filename, backend, allow_growth)
          self.input_size = 224
          # Average image provided in https://github.com/ox-vgg/vgg_face2
          self.average_img = np.array([91.4953, 103.8827, 131.0912])
  
        self.model = self._get_model(git_model_id, model_filename, backend, allow_growth)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      # <<< GET MODEL >>> #
      @staticmethod
      def _get_model(git_model_id, model_filename, backend):
keep keep keep keep replace keep keep keep keep keep
 Sort by face - Inherit allow_growth option from extract.ini 
lib/vgg_face2_keras.py