          netGA = Model(x, decoder_A(encoder(x)))
          netGB = Model(x, decoder_B(encoder(x)))
          try:
              netGA.load_weights(str(self.model_dir / netGAH5))
              netGB.load_weights(str(self.model_dir / netGBH5))
              print ("Generator models loaded.")
 
</s> remove         if self.gpus > 1:
            netGA = multi_gpu_model( netGA , self.gpus)
            netGB = multi_gpu_model( netGB , self.gpus)
 </s> add         self.netGA_sm = netGA
        self.netGB_sm = netGB
 </s> remove     def __init__(self, model_dir):
 </s> add     def __init__(self, model_dir, gpus):


        self.netGA_sm = netGA
        self.netGB_sm = netGB
        

          netGA = Model(x, decoder_A(encoder(x)))
          netGB = Model(x, decoder_B(encoder(x)))

        self.netGA_sm = netGA
        self.netGB_sm = netGB
        
          try:
              netGA.load_weights(str(self.model_dir / netGAH5))
              netGB.load_weights(str(self.model_dir / netGBH5))
              print ("Generator models loaded.")
keep add keep keep keep keep
 Fix broken multigpu GAN loading. (#280)

* Fix broken multigpu GAN loading.

Fix for loading into the multi GPU model when it needs to load/save the original model.

* Move reference change.

Move reference change for single model so it is defined before load

* Add mutliGPU support to GAN128

Added support for mutligpu to GAN128 
plugins/Model_GAN128/Model.py