                                 (rotated_width, rotated_height)),
                  rotation_matrix)
  
      # << QUEUE METHODS >> #
      def get_batch(self):
          """ Get items from the queue in batches of
              self.batch_size
  
              First item in output tuple indicates whether the
              queue is exhausted.
 
</s> remove         """ Output the queue sizes """
 </s> add         """ Output the queue sizes
            logged to INFO so it also displays in console
        """ </s> remove             print("=== QUEUE SIZES ===")
 </s> add  </s> remove         if queue:
            return queue
        self.add_queue(name, maxsize)
        return self.queues[name]
 </s> add         if not queue:
            self.add_queue(name, maxsize)
            queue = self.queues[name]
        logger.debug("QueueManager got: '%s'", name)
        return queue </s> remove         return os.path.exists(self.file)
 </s> add         retval = os.path.exists(self.file)
        logger.trace(retval)
        return retval
    def get_item(self):
        """ Yield one item from the queue """
        item = self.queues["in"].get()
        if isinstance(item, dict):
            logger.trace("Item in: %s", item["filename"])
        else:
            logger.trace("Item in: %s", item)
        if item == "EOF":
            logger.debug("In Queue Exhausted")
            # Re-put EOF into queue for other threads
            self.queues["in"].put(item)
        return item

                                 (rotated_width, rotated_height)),
                  rotation_matrix)
  
      # << QUEUE METHODS >> #
    def get_item(self):
        """ Yield one item from the queue """
        item = self.queues["in"].get()
        if isinstance(item, dict):
            logger.trace("Item in: %s", item["filename"])
        else:
            logger.trace("Item in: %s", item)
        if item == "EOF":
            logger.debug("In Queue Exhausted")
            # Re-put EOF into queue for other threads
            self.queues["in"].put(item)
        return item

      def get_batch(self):
          """ Get items from the queue in batches of
              self.batch_size
  
              First item in output tuple indicates whether the
              queue is exhausted.
keep keep keep add keep 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 
plugins/extract/detect/_base.py