          logger.debug("Initialized %s", self.__class__.__name__)
  
      # <<< GET MODEL >>> #
      @staticmethod
      def get_model(git_model_id, model_filename, backend):
          """ Check if model is available, if not, download and unzip it """
          root_path = os.path.abspath(os.path.dirname(sys.argv[0]))
          cache_path = os.path.join(root_path, "plugins", "extract", "recognition", ".cache")
          model = GetModel(model_filename, cache_path, git_model_id).model_path
          if backend == "CPU":
              if os.environ.get("KERAS_BACKEND", "") == "plaidml.keras.backend":
 
</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) </s> remove             str: 'linkage' or 'vector'
 </s> add             bool:
                ``True`` if vector_linkage should be used. ``False`` if linkage should be used </s> remove         if clustering_method == "linkage":
 </s> add         if self._use_vector_linkage(num_predictions, dims):
            func = linkage_vector
        else: </s> remove         clustering_method = self._get_clustering_method(num_predictions, dims)

 </s> add  </s> remove         else:
            func = linkage_vector
 </s> add 
    def _get_model(git_model_id, model_filename, backend):
        """ Check if model is available, if not, download and unzip it

        Parameters
        ----------
        git_model_id: int
            The second digit in the github tag that identifies this model. See
            https://github.com/deepfakes-models/faceswap-models for more information
        model_filename: str
            The name of the model to be loaded (see :class:`lib.utils.GetModel` for more
            information)
        backend: ['GPU', 'CPU']
            Whether to run inference on a GPU or on the CPU

        See Also
        --------
        lib.utils.GetModel: The model downloading and allocation class.
        """
          logger.debug("Initialized %s", self.__class__.__name__)
  
      # <<< GET MODEL >>> #
      @staticmethod
    def _get_model(git_model_id, model_filename, backend):
        """ Check if model is available, if not, download and unzip it

        Parameters
        ----------
        git_model_id: int
            The second digit in the github tag that identifies this model. See
            https://github.com/deepfakes-models/faceswap-models for more information
        model_filename: str
            The name of the model to be loaded (see :class:`lib.utils.GetModel` for more
            information)
        backend: ['GPU', 'CPU']
            Whether to run inference on a GPU or on the CPU

        See Also
        --------
        lib.utils.GetModel: The model downloading and allocation class.
        """
    def _get_model(git_model_id, model_filename, backend):
        """ Check if model is available, if not, download and unzip it

        Parameters
        ----------
        git_model_id: int
            The second digit in the github tag that identifies this model. See
            https://github.com/deepfakes-models/faceswap-models for more information
        model_filename: str
            The name of the model to be loaded (see :class:`lib.utils.GetModel` for more
            information)
        backend: ['GPU', 'CPU']
            Whether to run inference on a GPU or on the CPU

        See Also
        --------
        lib.utils.GetModel: The model downloading and allocation class.
        """
          root_path = os.path.abspath(os.path.dirname(sys.argv[0]))
          cache_path = os.path.join(root_path, "plugins", "extract", "recognition", ".cache")
          model = GetModel(model_filename, cache_path, git_model_id).model_path
          if backend == "CPU":
              if os.environ.get("KERAS_BACKEND", "") == "plaidml.keras.backend":
keep keep keep keep replace replace keep keep keep keep keep
 bugfix: tools.preview - Fix for new icons
bugfix: lib.vgg_face2_keras - Remove debug code
documentation: lib.vgg_face2_keras 
lib/vgg_face2_keras.py