          The currently selected converter command line arguments for the patch queue
      current_config::class:`lib.config.FaceswapConfig`
          The currently set configuration for the patch queue
      """
      def __init__(self, arguments, samples, display, lock, trigger, config_tools, tk_vars):
          logger.debug("Initializing %s: (arguments: '%s', samples: %s: display: %s, lock: %s,"
                       " trigger: %s, config_tools: %s, tk_vars %s)", self.__class__.__name__,
                       arguments, samples, display, lock, trigger, config_tools, tk_vars)
          self._samples = samples
          self._queue_patch_in = queue_manager.get_queue("preview_patch_in")
          self._display = display
          self._lock = lock
          self._trigger = trigger
 
</s> remove         raw_mask = np.expand_dims(raw_mask, axis=-1) if raw_mask.ndim != 3 else raw_mask
        mask = np.expand_dims(mask, axis=-1) if mask.ndim != 3 else mask
 </s> add  </s> remove         return mask.astype("float32") / 255.0, raw_mask.astype("float32") / 255.0
 </s> add         return mask, raw_mask </s> remove     def _generate_converter_arguments(arguments):
        """ Add the default converter arguments to the initial arguments.
 </s> add     def _generate_converter_arguments(arguments, available_masks):
        """ Add the default converter arguments to the initial arguments. Ensure the mask selection
        is available.
    def __init__(self, arguments, available_masks, samples,
                 display, lock, trigger, config_tools, tk_vars):
        logger.debug("Initializing %s: (arguments: '%s', available_masks: %s, samples: %s, "
                     "display: %s, lock: %s, trigger: %s, config_tools: %s, tk_vars %s)",
                     self.__class__.__name__, arguments, available_masks, samples, display, lock,
                     trigger, config_tools, tk_vars)
          The currently selected converter command line arguments for the patch queue
      current_config::class:`lib.config.FaceswapConfig`
          The currently set configuration for the patch queue
      """
    def __init__(self, arguments, available_masks, samples,
                 display, lock, trigger, config_tools, tk_vars):
        logger.debug("Initializing %s: (arguments: '%s', available_masks: %s, samples: %s, "
                     "display: %s, lock: %s, trigger: %s, config_tools: %s, tk_vars %s)",
                     self.__class__.__name__, arguments, available_masks, samples, display, lock,
                     trigger, config_tools, tk_vars)
    def __init__(self, arguments, available_masks, samples,
                 display, lock, trigger, config_tools, tk_vars):
        logger.debug("Initializing %s: (arguments: '%s', available_masks: %s, samples: %s, "
                     "display: %s, lock: %s, trigger: %s, config_tools: %s, tk_vars %s)",
                     self.__class__.__name__, arguments, available_masks, samples, display, lock,
                     trigger, config_tools, tk_vars)
    def __init__(self, arguments, available_masks, samples,
                 display, lock, trigger, config_tools, tk_vars):
        logger.debug("Initializing %s: (arguments: '%s', available_masks: %s, samples: %s, "
                     "display: %s, lock: %s, trigger: %s, config_tools: %s, tk_vars %s)",
                     self.__class__.__name__, arguments, available_masks, samples, display, lock,
                     trigger, config_tools, tk_vars)
    def __init__(self, arguments, available_masks, samples,
                 display, lock, trigger, config_tools, tk_vars):
        logger.debug("Initializing %s: (arguments: '%s', available_masks: %s, samples: %s, "
                     "display: %s, lock: %s, trigger: %s, config_tools: %s, tk_vars %s)",
                     self.__class__.__name__, arguments, available_masks, samples, display, lock,
                     trigger, config_tools, tk_vars)
          self._samples = samples
          self._queue_patch_in = queue_manager.get_queue("preview_patch_in")
          self._display = display
          self._lock = lock
          self._trigger = trigger
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Convert - bugfixes
- Default mask to an available mask in Preview tool
- Correctly output predicted mask 
tools/preview.py