      def launch_detector(self):
          """ Launch the face detector """
          out_queue = queue_manager.get_queue("detect")
          kwargs = {"in_queue": queue_manager.get_queue("load"),
                    "out_queue": out_queue}
  
          if self.args.detector == "mtcnn":
 
</s> remove             raise ValueError("Error inititalizing Aligner")

        try:
            err = None
            err = out_queue.get(True, 1)
        except QueueEmpty:
            pass

        if err:
            if isinstance(err, str):
                queue_manager.terminate_queues()
                print(err)
                exit(1)
            else:
                queue_manager.get_queue("detect").put(err)
 </s> add             raise ValueError("Error initializing Aligner")

        logger.debug("Launched Aligner") </s> remove         process = SpawnProcess()
        event = process.event
 </s> add  </s> remove         self.process_align = SpawnProcess()
 </s> add         self.process_align = SpawnProcess(self.aligner.run, **kwargs) </s> remove         detector = PluginLoader.get_detector("dlib_hog")(
            verbose=self.args.verbose)
        aligner = PluginLoader.get_aligner("dlib")(verbose=self.args.verbose)
 </s> add         detector = PluginLoader.get_detector("dlib_hog")(loglevel=self.args.loglevel)
        aligner = PluginLoader.get_aligner("dlib")(loglevel=self.args.loglevel)
        logger.debug("Launching Detector")
      def launch_detector(self):
          """ Launch the face detector """
        logger.debug("Launching Detector")
          out_queue = queue_manager.get_queue("detect")
          kwargs = {"in_queue": queue_manager.get_queue("load"),
                    "out_queue": out_queue}
  
          if self.args.detector == "mtcnn":
keep add 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 
scripts/extract.py