  import tools.cli as ToolsCli
  from .utils import FileHandler, Images
  
  
  class CliOptions(object):
      """ Class and methods for the command line options """
      def __init__(self):
          self.categories = ("faceswap", "tools")
          self.commands = dict()
          self.opts = dict()
 
</s> remove     is_macos = False
 </s> add     IS_MACOS = False </s> remove     def set_actions(self):
        """ Compile the actions to be performed into a list """
        postprocess_items = self.get_items()
        actions = list()
        for action, options in postprocess_items.items():
            options = dict() if options is None else options
            args = options.get("args", tuple())
            kwargs = options.get("kwargs", dict())
            args = args if isinstance(args, tuple) else tuple()
            kwargs = kwargs if isinstance(kwargs, dict) else dict()
            kwargs["verbose"] = self.verbose
            task = globals()[action](*args, **kwargs)
            actions.append(task)

        for action in actions:
            action_name = camel_case_split(action.__class__.__name__)
            print("Adding post processing item: "
                  "{}".format(" ".join(action_name)))

        return actions

 </s> add  </s> remove from ._base import Detector, dlib
 </s> add from ._base import Detector, dlib, logger


# Must import tensorflow inside the spawned process
# for Windows machines
tf = None  # pylint: disable = invalid-name


def import_tensorflow():
    """ Import tensorflow from inside spawned process """
    global tf  # pylint: disable = invalid-name,global-statement
    import tensorflow as tflow
    tf = tflow </s> remove         self.verbose = self.args.verbose
 </s> add 
class CliOptions():
  import tools.cli as ToolsCli
  from .utils import FileHandler, Images
  
  
class CliOptions():
      """ Class and methods for the command line options """
      def __init__(self):
          self.categories = ("faceswap", "tools")
          self.commands = dict()
          self.opts = dict()
keep keep keep keep replace keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
lib/gui/options.py