              filelist = ["{}_{:06d}.png".format(os.path.splitext(self.images.input_images)[0],
                                                 frame_no)
                          for frame_no in range(1, self.images.images_found + 1)]
          else:
              filelist = self.images.input_images
  
          retval = [filename for filename in filelist
                    if self.alignments.frame_has_faces(os.path.basename(filename))]
          logger.debug("Filtered out frames: %s", self.images.images_found - len(retval))
          try:
 
</s> remove                         for frame_no in range(1, self.images.images_found + 1)]
 </s> add                         for frame_no in range(1, self._images.images_found + 1)] </s> remove                   if self.alignments.frame_has_faces(os.path.basename(filename))]
        logger.debug("Filtered out frames: %s", self.images.images_found - len(retval))
 </s> add                   if self._alignments.frame_has_faces(os.path.basename(filename))]
        logger.debug("Filtered out frames: %s", self._images.images_found - len(retval)) </s> remove         if self.images.is_video:
            filelist = ["{}_{:06d}.png".format(os.path.splitext(self.images.input_images)[0],
 </s> add         if self._images.is_video:
            filelist = ["{}_{:06d}.png".format(os.path.splitext(self._images.input_images)[0], </s> remove     def get_filelist(self):
        """ Return a list of files, filtering out those frames which do not contain faces """
 </s> add     def _get_filelist(self):
        """ Get a list of files for the input, filtering out those frames which do
        not contain faces.

        Returns
        -------
        list
            A list of filenames of frames that contain faces.
        """ </s> remove             retval = self.load_one_video_frame(int(frame_no))
 </s> add             retval = self._load_one_video_frame(int(frame_no))
            filelist = self._images.input_images
              filelist = ["{}_{:06d}.png".format(os.path.splitext(self.images.input_images)[0],
                                                 frame_no)
                          for frame_no in range(1, self.images.images_found + 1)]
          else:
            filelist = self._images.input_images
  
          retval = [filename for filename in filelist
                    if self.alignments.frame_has_faces(os.path.basename(filename))]
          logger.debug("Filtered out frames: %s", self.images.images_found - len(retval))
          try:
keep keep keep keep 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 
tools/preview.py