  
  
  class State():
      """ Class to hold the model's current state and autoencoder structure """
      def __init__(self, model_dir, model_name, no_logs, pingpong, training_image_size):
          logger.debug("Initializing %s: (model_dir: '%s', model_name: '%s', no_logs: %s, "
                       "pingpong: %s, training_image_size: '%s'", self.__class__.__name__, model_dir,
                       model_name, no_logs, pingpong, training_image_size)
          self.serializer = Serializer.get_serializer("json")
          filename = "{}_state.{}".format(model_name, self.serializer.ext)
          self.filename = str(model_dir / filename)
          self.name = model_name
          self.iterations = 0
 
</s> remove         self.state = State(self.model_dir, self.name, no_logs, pingpong, training_image_size)
 </s> add         self.state = State(self.model_dir,
                           self.name,
                           self.config_changeable_items,
                           no_logs,
                           pingpong,
                           training_image_size) </s> remove         self.state.replace_config()
 </s> add         self.state.replace_config(self.config_changeable_items) </s> remove                      "info: '%s', rounding: '%s', min_max: %s, choices: %s)",
                     section, title, datatype, default, info, rounding, min_max, choices)
 </s> add                      "info: '%s', rounding: '%s', min_max: %s, choices: %s, fixed: %s)",
                     section, title, datatype, default, info, rounding, min_max, choices, fixed) </s> remove             model_name = ".".join(self.__module__.split(".")[-2:])
 </s> add             model_name = self.config_section </s> remove     def load(self):
 </s> add     def load(self, config_changeable_items):
    def __init__(self, model_dir, model_name, config_changeable_items,
                 no_logs, pingpong, training_image_size):
        logger.debug("Initializing %s: (model_dir: '%s', model_name: '%s', "
                     "config_changeable_items: '%s', no_logs: %s, pingpong: %s, "
                     "training_image_size: '%s'", self.__class__.__name__, model_dir, model_name,
                     config_changeable_items, no_logs, pingpong, training_image_size)
  
  
  class State():
      """ Class to hold the model's current state and autoencoder structure """
    def __init__(self, model_dir, model_name, config_changeable_items,
                 no_logs, pingpong, training_image_size):
        logger.debug("Initializing %s: (model_dir: '%s', model_name: '%s', "
                     "config_changeable_items: '%s', no_logs: %s, pingpong: %s, "
                     "training_image_size: '%s'", self.__class__.__name__, model_dir, model_name,
                     config_changeable_items, no_logs, pingpong, training_image_size)
    def __init__(self, model_dir, model_name, config_changeable_items,
                 no_logs, pingpong, training_image_size):
        logger.debug("Initializing %s: (model_dir: '%s', model_name: '%s', "
                     "config_changeable_items: '%s', no_logs: %s, pingpong: %s, "
                     "training_image_size: '%s'", self.__class__.__name__, model_dir, model_name,
                     config_changeable_items, no_logs, pingpong, training_image_size)
    def __init__(self, model_dir, model_name, config_changeable_items,
                 no_logs, pingpong, training_image_size):
        logger.debug("Initializing %s: (model_dir: '%s', model_name: '%s', "
                     "config_changeable_items: '%s', no_logs: %s, pingpong: %s, "
                     "training_image_size: '%s'", self.__class__.__name__, model_dir, model_name,
                     config_changeable_items, no_logs, pingpong, training_image_size)
    def __init__(self, model_dir, model_name, config_changeable_items,
                 no_logs, pingpong, training_image_size):
        logger.debug("Initializing %s: (model_dir: '%s', model_name: '%s', "
                     "config_changeable_items: '%s', no_logs: %s, pingpong: %s, "
                     "training_image_size: '%s'", self.__class__.__name__, model_dir, model_name,
                     config_changeable_items, no_logs, pingpong, training_image_size)
          self.serializer = Serializer.get_serializer("json")
          filename = "{}_state.{}".format(model_name, self.serializer.ext)
          self.filename = str(model_dir / filename)
          self.name = model_name
          self.iterations = 0
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Allow 'unfixed' parameters for model config 
plugins/train/model/_base.py