  from lib.image import ImagesLoader, read_image
  from lib.utils import get_backend
  from lib.vgg_face2_keras import VGGFace2 as VGGFace
  from plugins.extract.pipeline import Extractor, ExtractMedia
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class Sort():
 
</s> remove         self.model = self._get_model(git_model_id, model_filename, backend)
 </s> add         self.model = self._get_model(git_model_id, model_filename, backend, allow_growth) </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) </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)
from plugins.extract._config import Config
  from lib.image import ImagesLoader, read_image
  from lib.utils import get_backend
  from lib.vgg_face2_keras import VGGFace2 as VGGFace
  from plugins.extract.pipeline import Extractor, ExtractMedia
from plugins.extract._config import Config
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class Sort():
keep keep keep add keep keep keep keep keep
 Sort by face - Inherit allow_growth option from extract.ini 
tools/sort/sort.py