  from keras.models import Model as KerasModel
  from keras.optimizers import Adam
  from keras.utils import multi_gpu_model
  from lib.PixelShuffler import PixelShuffler
  import os
  import sys
  
  from . import __version__
  from .instance_normalization import InstanceNormalization
  
  
 
</s> remove from .instance_normalization import InstanceNormalization

 </s> add  </s> remove 
 </s> add import os
import sys </s> remove         
 </s> add         from json import JSONDecodeError </s> remove         for thread in threads:
            thread.start()            
 </s> add         print('\nsaving model weights', end='', flush=True)        
        from concurrent.futures import ThreadPoolExecutor, as_completed
import lib.Serializer
  from keras.models import Model as KerasModel
  from keras.optimizers import Adam
  from keras.utils import multi_gpu_model
  from lib.PixelShuffler import PixelShuffler
import lib.Serializer
import lib.Serializer
  
  from . import __version__
  from .instance_normalization import InstanceNormalization
  
  
keep keep keep keep replace replace keep keep keep keep keep
 Update Model.py (#424)

- Added saving state (currently only saved epoch number, to be extended in future)
- Changed saving to ThreadPoolExecutor 
plugins/Model_OriginalHighRes/Model.py