  
          model = PluginLoader.get_model(model_name)(model_dir, num_gpus)
  
          if not model.load(self.args.swap_model):
              print("Model Not Found! A valid model "
                    "must be provided to continue!")
              exit(1)
  
          return model
  
      def load_converter(self, model):
 
</s> remove                 print('Error: {} contains no images'.format(image_dir))
 </s> add                 logger.error("Error: '%s' contains no images", image_dir) </s> remove         print("Model A Directory: {}".format(self.args.input_A))
        print("Model B Directory: {}".format(self.args.input_B))
 </s> add         logger.info("Model A Directory: %s", self.args.input_A)
        logger.info("Model B Directory: %s", self.args.input_B) </s> remove         print("\nTotal explained percent by PCA model with {} components is "
              "{}%\n".format(num_components, round(100 * explained, 1)))
 </s> add         logger.info("Total explained percent by PCA model with %s components is %s%%",
                    num_components, round(100 * explained, 1)) </s> remove             print("Loading data, this may take a while...")
 </s> add             logger.info("Loading data, this may take a while...") </s> remove             print('Failed loading existing training data.')
            print(e)
 </s> add             logger.warning('Failed loading existing training data. Starting a fresh model: %s', self.model_dir)
            logger.error("Model Not Found! A valid model "
                         "must be provided to continue!")
  
          model = PluginLoader.get_model(model_name)(model_dir, num_gpus)
  
          if not model.load(self.args.swap_model):
            logger.error("Model Not Found! A valid model "
                         "must be provided to continue!")
            logger.error("Model Not Found! A valid model "
                         "must be provided to continue!")
              exit(1)
  
          return model
  
      def load_converter(self, model):
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