                                                    (filename, image, idx, face))
                  filename = str(self.output_dir / Path(filename).name)
                  cv2.imwrite(filename, image)  # pylint: disable=no-member
          except Exception as err:
              print("Failed to convert image: {}. "
                    "Reason: {}".format(filename, err))
              raise
  
      def convert_one_face(self, converter, imagevars):
          """ Perform the conversion on the given frame for a single face """
          filename, image, idx, face = imagevars
 
</s> remove             yield filename, cv2.imread(filename)  # pylint: disable=no-member
 </s> add             logger.trace("Loading image: '%s'", filename)
            try:
                image = cv2.imread(filename)  # pylint: disable=no-member
            except Exception as err:  # pylint: disable=broad-except
                logger.error("Failed to load image '%s'. Original Error: %s", filename, err)
                continue
            yield filename, image </s> remove         save_queue = queue_manager.get_queue("save")
 </s> add  </s> remove         output_file = faces["output_file"]
 </s> add 
            logger.error("Failed to convert image: '%s'. Reason: %s", filename, err)
                                                    (filename, image, idx, face))
                  filename = str(self.output_dir / Path(filename).name)
                  cv2.imwrite(filename, image)  # pylint: disable=no-member
          except Exception as err:
            logger.error("Failed to convert image: '%s'. Reason: %s", filename, err)
            logger.error("Failed to convert image: '%s'. Reason: %s", filename, err)
              raise
  
      def convert_one_face(self, converter, imagevars):
          """ Perform the conversion on the given frame for a single face """
          filename, image, idx, face = imagevars
keep keep keep keep replace 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 
scripts/convert.py