      def conv_sep(self, filters, kernel_size=5, strides=2, use_instance_norm=True, **kwargs):
          def block(x):
              x = SeparableConv2D(filters, kernel_size=kernel_size, strides=strides, kernel_initializer=_kern_init, padding='same', **kwargs)(x)
              x = Activation("relu")(x)
              return x    
          return block 
          
      def conv_inst_norm(self, filters, kernel_size=3, strides=2, use_instance_norm=True, **kwargs):
          def block(x):
              x = SeparableConv2D(filters, kernel_size=kernel_size, strides=strides, kernel_initializer=_kern_init, padding='same', **kwargs)(x)        
              if use_instance_norm:
                  x = inst_norm()(x)
 
</s> remove         
        return KerasModel(inpt, x)    
 </s> add         return KerasModel(inpt, x) </s> remove     
    
    def Decoder_shaoanlu(self):       
        decoder_shape = self.IMAGE_SHAPE[0]//8        
 </s> add     def Decoder_shaoanlu(self):
        decoder_shape = self.IMAGE_SHAPE[0]//8 </s> remove         
        return KerasModel(impt, x, **kwargs)    
          
    
 </s> add         return KerasModel(impt, x, **kwargs)

 </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     def Decoder_original(self):       
        decoder_shape = self.IMAGE_SHAPE[0]//8        
 </s> add     def Decoder_original(self):
        decoder_shape = self.IMAGE_SHAPE[0]//8
            return x
        return block

      def conv_sep(self, filters, kernel_size=5, strides=2, use_instance_norm=True, **kwargs):
          def block(x):
              x = SeparableConv2D(filters, kernel_size=kernel_size, strides=strides, kernel_initializer=_kern_init, padding='same', **kwargs)(x)
              x = Activation("relu")(x)
            return x
        return block

            return x
        return block

            return x
        return block

      def conv_inst_norm(self, filters, kernel_size=3, strides=2, use_instance_norm=True, **kwargs):
          def block(x):
              x = SeparableConv2D(filters, kernel_size=kernel_size, strides=strides, kernel_initializer=_kern_init, padding='same', **kwargs)(x)        
              if use_instance_norm:
                  x = inst_norm()(x)
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_OriginalHighRes/Model.py