          
          # can't chnage gpu's when the model is initialized no point in making it r/w
          self._gpus = gpus 
          
          Encoder = getattr(self, "Encoder") if not ENCODER else getattr(self, "Encoder_{}".format(ENCODER))
          
          self.encoder = Encoder()
          self.decoder_A = self.Decoder()
          self.decoder_B = self.Decoder()
          
 
</s> remove         self.decoder_A = self.Decoder()
        self.decoder_B = self.Decoder()
 </s> add         self.decoder_A = Decoder()
        self.decoder_B = Decoder() </s> remove             mydll.SetProcessDPIAware(True)        
 </s> add             mydll.SetProcessDPIAware(True)                               
        
        self._encoder_type = encoder_type </s> remove ENCODER = Encoders.NEW_SLIM
 </s> add ENCODER = EncoderType.SHAOANLU  </s> remove class Encoders():
    REGULAR = 'v2' # high memory consumption encoder
    NEW_SLIM = 'v3' # slightly lighter on resources and taining speed is faster
 </s> add conv_init = RandomNormal(0, 0.02)



def inst_norm():
    return InstanceNormalization() </s> remove     def __init__(self, model_dir, gpus):
        
 </s> add     ENCODER_DIM = 1024 # dense layer size        
    IMAGE_SHAPE = 128, 128 # image shape
    
    assert [n for n in IMAGE_SHAPE if n>=16]
    
    IMAGE_WIDTH = max(IMAGE_SHAPE)
    IMAGE_WIDTH = (IMAGE_WIDTH//16 + (1 if (IMAGE_WIDTH%16)>=8 else 0))*16
    IMAGE_SHAPE = IMAGE_WIDTH, IMAGE_WIDTH, len('BRG') # good to let ppl know what these are...
    
    
    def __init__(self, model_dir, gpus, encoder_type=ENCODER):
                
        Encoder = getattr(self, "Encoder_{}".format(self._encoder_type.value))
        Decoder = getattr(self, "Decoder_{}".format(self._encoder_type.value))
          
          # can't chnage gpu's when the model is initialized no point in making it r/w
          self._gpus = gpus 
          
        Encoder = getattr(self, "Encoder_{}".format(self._encoder_type.value))
        Decoder = getattr(self, "Decoder_{}".format(self._encoder_type.value))
          
          self.encoder = Encoder()
          self.decoder_A = self.Decoder()
          self.decoder_B = self.Decoder()
          
keep keep keep keep replace keep keep keep keep keep
 model update (#417)

New, functional Original 128 model 
plugins/Model_OriginalHighRes/Model.py