          return self._model_name
               
      
      def __str__(self):
          return "<{}: ver={}, dense_dim={}, img_size={}>".format(self.model_name, 
                                                                version_str, 
                                                                self.ENCODER_DIM, 
                                                                "x".join([str(n) for n in self.IMAGE_SHAPE[:2]]))
 
</s> remove         return sum(len(faces) for faces in self.data.values())
 </s> add         retval = sum(len(faces) for faces in self.data.values())
        logger.trace(retval)
        return retval </s> remove         return len(self.data)
 </s> add         retval = len(self.data)
        logger.trace(retval)
        return retval </s> remove         return next(key for key in self.data.keys()
                    if key.startswith(frame))
 </s> add         retval = next(key for key in self.data.keys()
                      if key.startswith(frame))
        logger.trace("Requested: '%s', Returning: '%s'", frame, retval)
        return retval </s> remove         print('done', flush=True)              
    
                           
 </s> add  </s> remove     def in_process(self, *args, **kwargs):
 </s> add     def start(self):
        return "<{}: ver={}, dense_dim={}, img_size={}>".format(self.model_name,
                                                              version_str,
                                                              self.ENCODER_DIM,
          return self._model_name
               
      
      def __str__(self):
        return "<{}: ver={}, dense_dim={}, img_size={}>".format(self.model_name,
                                                              version_str,
                                                              self.ENCODER_DIM,
        return "<{}: ver={}, dense_dim={}, img_size={}>".format(self.model_name,
                                                              version_str,
                                                              self.ENCODER_DIM,
        return "<{}: ver={}, dense_dim={}, img_size={}>".format(self.model_name,
                                                              version_str,
                                                              self.ENCODER_DIM,
                                                                "x".join([str(n) for n in self.IMAGE_SHAPE[:2]]))
keep keep keep keep replace replace replace 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/model/Model_OriginalHighRes/Model.py