              backup_file(model_dir, model)
          self.encoder.save_weights(str(self.model_dir / hdf['encoderH5']))
          self.decoder_A.save_weights(str(self.model_dir / hdf['decoder_AH5']))
          self.decoder_B.save_weights(str(self.model_dir / hdf['decoder_BH5']))
          
          print('saved model weights')
          
          serializer = Serializer.get_serializer('json')
          state_fn = ".".join([hdf['state'], serializer.ext])
          state_dir = str(self.model_dir / state_fn)                        
          try:
              with open(state_dir, 'wb') as fp:
 
</s> remove         print('saved model weights')
 </s> add         logger.info('saved model weights') </s> remove             print('backup functionality not available\n')       
            
 </s> add             logger.error('backup functionality not available\n')
 </s> remove                     print('Complete')
 </s> add                     logger.info('Complete') </s> remove                 print('Migrating to new filenames: ', end='')
 </s> add                 logger.info('Migrating to new filenames:') </s> remove                     print('Failed due to existing files in folder.  Loading already migrated files')
 </s> add                     logger.warning('Failed due to existing files in folder.  Loading already migrated files')

        logger.info('saved model weights')


              backup_file(model_dir, model)
          self.encoder.save_weights(str(self.model_dir / hdf['encoderH5']))
          self.decoder_A.save_weights(str(self.model_dir / hdf['decoder_AH5']))
          self.decoder_B.save_weights(str(self.model_dir / hdf['decoder_BH5']))

        logger.info('saved model weights')


        logger.info('saved model weights')


        logger.info('saved model weights')

          serializer = Serializer.get_serializer('json')
          state_fn = ".".join([hdf['state'], serializer.ext])
          state_dir = str(self.model_dir / state_fn)                        
          try:
              with open(state_dir, 'wb') as fp:
keep keep keep keep replace 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 
plugins/model/Model_Original/AutoEncoder.py