      def yield_faces(self):
          """ Yield face alignments for one image """
          for frame_fullname, alignments in self.data.items():
              frame_name = os.path.splitext(frame_fullname)[0]
              yield frame_name, alignments, len(alignments), frame_fullname
  
      @staticmethod
      def yield_original_index_reverse(image_alignments, number_alignments):
          """ Return the correct original index for
              alignment in reverse order """
 
</s> remove         self.verbose = arguments.verbose
 </s> add  </s> remove         return len(self.data.get(frame, list()))
 </s> add         retval = len(self.data.get(frame, list()))
        logger.trace(retval)
        return retval
            face_count = len(alignments)
            logger.trace("Yielding: (frame: '%s', faces: %s, frame_fullname: '%s')",
                         frame_name, face_count, frame_fullname)
            yield frame_name, alignments, face_count, frame_fullname
      def yield_faces(self):
          """ Yield face alignments for one image """
          for frame_fullname, alignments in self.data.items():
              frame_name = os.path.splitext(frame_fullname)[0]
            face_count = len(alignments)
            logger.trace("Yielding: (frame: '%s', faces: %s, frame_fullname: '%s')",
                         frame_name, face_count, frame_fullname)
            yield frame_name, alignments, face_count, frame_fullname
  
      @staticmethod
      def yield_original_index_reverse(image_alignments, number_alignments):
          """ Return the correct original index for
              alignment in reverse order """
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/alignments.py