              return
  
          logger.debug("Creating state file for legacy model")
          self.state.inputs = {"face:0": [64, 64, 3]}
          self.state.training_size = 256
          self.state.config["coverage"] = 62.5
 
</s> remove         K.clear_session()
 </s> add         if not self.is_legacy:
            K.clear_session()
        self.is_legacy = True
              return
  
        self.is_legacy = True
          logger.debug("Creating state file for legacy model")
          self.state.inputs = {"face:0": [64, 64, 3]}
          self.state.training_size = 256
          self.state.config["coverage"] = 62.5
keep add keep keep keep keep
 bugfix: Don't clear session when loading legacy weights 
plugins/train/model/_base.py