Using the same model instance I think that you need to manually reset your model weights:

  

      github.com/keras-team/keras
  

  
    
  
	  
  

  
    
      Re-init weights to avoid recompile 1
    

    
      
        opened 
        
          
        
        Aug 28, 2015
      
      

        
          closed 
        
          
        
        Jun 25, 2021
      
        

      
        
          
          PilCAki
        
      
    

    
    
  


  
    If you'd like to average NN's with different inits, currently there is no easy m…ethod for getting a different random init of weights without recompiling.

Currently, I can train nets on medium sized data in about 1 minute but it sometimes takes several minutes to compile if I've got particularly complex structure.

It's possible to save the weights and re-init with the original weights.  However, there should be method to reset to a "like-new" state non-identical to first init without having to recompile.