          template = template.ravel()
          masked_source = masked_source.ravel()
          masked_template = masked_template.ravel()
          s_values, bin_idx, s_counts = numpy.unique(source, return_inverse=True,
                                                  return_counts=True)
          t_values, t_counts = numpy.unique(template, return_counts=True)
          ms_values, mbin_idx, ms_counts = numpy.unique(source, return_inverse=True,
                                                  return_counts=True)
          mt_values, mt_counts = numpy.unique(template, return_counts=True)
  
 
</s> remove                                                 return_counts=True)
 </s> add                                                       return_counts=True)
 </s> remove         self.frames = Frames(arguments.frames_dir, self.verbose)
 </s> add         self.frames = Frames(arguments.frames_dir) </s> remove         self.init_extractor(verbose)
 </s> add         self.init_extractor(loglevel) </s> remove         x = self.conv_inst_norm(1024)(x)        
        
        dense_shape = self.IMAGE_SHAPE[0] // 16         
 </s> add         x = self.conv_inst_norm(1024)(x)

        dense_shape = self.IMAGE_SHAPE[0] // 16 </s> remove         
        dense_shape = self.IMAGE_SHAPE[0] // 16         
 </s> add         dense_shape = self.IMAGE_SHAPE[0] // 16
                                                   return_counts=True)

          template = template.ravel()
          masked_source = masked_source.ravel()
          masked_template = masked_template.ravel()
          s_values, bin_idx, s_counts = numpy.unique(source, return_inverse=True,
                                                   return_counts=True)
          t_values, t_counts = numpy.unique(template, return_counts=True)
          ms_values, mbin_idx, ms_counts = numpy.unique(source, return_inverse=True,
                                                  return_counts=True)
          mt_values, mt_counts = numpy.unique(template, return_counts=True)
  
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 
plugins/convert/Convert_Masked.py