              logger.info("Adding post processing item: %s", " ".join(action_name))
  
          return actions
  
      def get_items(self):
          """ Set the post processing actions """
          postprocess_items = dict()
          # Debug Landmarks
          if (hasattr(self.args, 'debug_landmarks') and self.args.debug_landmarks):
              postprocess_items["DebugLandmarks"] = None
  
 
</s> remove         if (hasattr(self.args, 'debug_landmarks') and self.args.debug_landmarks):
 </s> add         if (hasattr(self._args, 'debug_landmarks') and self._args.debug_landmarks): </s> remove         if ((hasattr(self.args, "filter") and self.args.filter is not None) or
                (hasattr(self.args, "nfilter") and
                 self.args.nfilter is not None)):
 </s> add         if ((hasattr(self._args, "filter") and self._args.filter is not None) or
                (hasattr(self._args, "nfilter") and
                 self._args.nfilter is not None)): </s> remove         self.args = arguments
        self.actions = self.set_actions()
 </s> add         self._args = arguments
        self._actions = self._set_actions() </s> remove class PostProcess():
    """ Optional post processing tasks """
 </s> add class PostProcess():  # pylint:disable=too-few-public-methods
    """ Optional pre/post processing tasks for convert and extract.

    Builds a pipeline of actions that have optionally been requested to be performed
    in this session.

    Parameters
    ----------
    arguments: :class:`argparse.Namespace`
        The command line arguments that were passed to Faceswap
    """ </s> remove     def set_actions(self):
        """ Compile the actions to be performed into a list """
        postprocess_items = self.get_items()
 </s> add     def _set_actions(self):
        """ Compile the requested actions to be performed into a list

        Returns
        -------
        list
            The list of :class:`PostProcessAction` to be performed
        """
        postprocess_items = self._get_items()
    def _get_items(self):
        """ Check the passed in command line arguments for requested actions,

        For any requested actions, add the item to the actions list along with
        any relevant arguments and keyword arguments.

        Returns
        -------
        dict
            The name of the action to be performed as the key. Any action specific
            arguments and keyword arguments as the value.
        """
              logger.info("Adding post processing item: %s", " ".join(action_name))
  
          return actions
  
    def _get_items(self):
        """ Check the passed in command line arguments for requested actions,

        For any requested actions, add the item to the actions list along with
        any relevant arguments and keyword arguments.

        Returns
        -------
        dict
            The name of the action to be performed as the key. Any action specific
            arguments and keyword arguments as the value.
        """
    def _get_items(self):
        """ Check the passed in command line arguments for requested actions,

        For any requested actions, add the item to the actions list along with
        any relevant arguments and keyword arguments.

        Returns
        -------
        dict
            The name of the action to be performed as the key. Any action specific
            arguments and keyword arguments as the value.
        """
          postprocess_items = dict()
          # Debug Landmarks
          if (hasattr(self.args, 'debug_landmarks') and self.args.debug_landmarks):
              postprocess_items["DebugLandmarks"] = None
  
keep keep keep keep replace replace keep keep keep keep keep
 Smart Masks to Convert (#957)

- scripts.convert - Use Smart Masks for Convert
    * Make on-the-fly conversion an explicit option

- Move BlurMask to lib.faces_detect

- tools.preview - Fix for smart masks
    * Subclass from tk.Tk
    * Options to lib.gui.control_helper
    *variable cleanup

- lib.logger - Demote more tensorflow deprecation messages

- Documentation:
    * lib.faces_detect.BlurMask
    * plugins.convert.mask
    * lib.convert
    * scripts.convert
    * scripts.fsmedia
    * tools.preview 
scripts/fsmedia.py