  # Based on the https://github.com/shaoanlu/faceswap-GAN repo
  # source : https://github.com/shaoanlu/faceswap-GAN/blob/master/FaceSwap_GAN_v2_sz128_train.ipynbtemp/faceswap_GAN_keras.ipynb
  
  
  import os
  import sys
  
  from keras.initializers import RandomNormal
  from keras.layers import Input, Dense, Flatten, Reshape
  from keras.layers import SeparableConv2D, add
  from keras.layers.advanced_activations import LeakyReLU
 
</s> remove from keras.layers.core import Activation
 </s> add from .instance_normalization import InstanceNormalization </s> remove             mydll.SetProcessDPIAware(True)        
 </s> add             mydll.SetProcessDPIAware(True)                               
        
        self._encoder_type = encoder_type
import enum

import warnings
warnings.filterwarnings("ignore", category=FutureWarning)
  # Based on the https://github.com/shaoanlu/faceswap-GAN repo
  # source : https://github.com/shaoanlu/faceswap-GAN/blob/master/FaceSwap_GAN_v2_sz128_train.ipynbtemp/faceswap_GAN_keras.ipynb
  
  
import enum

import warnings
warnings.filterwarnings("ignore", category=FutureWarning)
import enum

import warnings
warnings.filterwarnings("ignore", category=FutureWarning)
  
  from keras.initializers import RandomNormal
  from keras.layers import Input, Dense, Flatten, Reshape
  from keras.layers import SeparableConv2D, add
  from keras.layers.advanced_activations import LeakyReLU
keep keep keep keep replace replace keep keep keep keep keep
 model update (#417)

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