  
  
  class Adjustment():
      """ Parent class for adjustments """
      def __init__(self):
          logger.debug("Initializing %s", self.__class__.__name__)
          self.config = get_config(".".join(self.__module__.split(".")[-2:]))
          logger.debug("config: %s", self.config)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def process(self, old_face, new_face, raw_mask):
          """ Override for specific color adjustment process """
 
</s> remove     def __init__(self):
        logger.debug("Initializing %s", self.__class__.__name__)
        self.config = get_config(".".join(self.__module__.split(".")[-2:]))
 </s> add     def __init__(self, config=None):
        logger.debug("Initializing %s: (config: %s)", self.__class__.__name__, config)
        self.config = self.set_config(config) </s> remove     def __init__(self, mask_type, output_size, predicted_available):
 </s> add     def __init__(self, mask_type, output_size, predicted_available, config=None): </s> remove                      "predicted_available: %s)",
                     self.__class__.__name__, mask_type, output_size, predicted_available)
        self.config = get_config(".".join(self.__module__.split(".")[-2:]))
 </s> add                      "predicted_available: %s, config: %s)",
                     self.__class__.__name__, mask_type, output_size, predicted_available, config)
        self.config = self.set_config(config)
    def __init__(self, config=None):
        logger.debug("Initializing %s: (config: %s)", self.__class__.__name__, config)
        self.config = self.set_config(config)
  
  
  class Adjustment():
      """ Parent class for adjustments """
    def __init__(self, config=None):
        logger.debug("Initializing %s: (config: %s)", self.__class__.__name__, config)
        self.config = self.set_config(config)
    def __init__(self, config=None):
        logger.debug("Initializing %s: (config: %s)", self.__class__.__name__, config)
        self.config = self.set_config(config)
    def __init__(self, config=None):
        logger.debug("Initializing %s: (config: %s)", self.__class__.__name__, config)
        self.config = self.set_config(config)
          logger.debug("config: %s", self.config)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def process(self, old_face, new_face, raw_mask):
          """ Override for specific color adjustment process """
keep keep keep keep replace replace replace keep keep keep keep keep
 Convert settings tool (#737)

* Initial prediction pipeline and display

* Patch faces from convert pipeline. Load configs

* Add tkinter canvas for image display

* Radio buttons to config gui. Standardise config gui. Remove dssim loss from realface

* Add action frame

* Live update cli options

* Live update config changes

* Quicker frame loading. Refresh faces button callback

* remove debug code

* Add saving and reloading config buttons

* Reduce lag with threading

* Busy indicator + geometry updates

* Fix options canvas resizing

* Add global config saving and resetting

* tools to own tab

* Rename tool to 'preview'

* geometry tweak

* pep8 fixes 
plugins/convert/color/_base.py