def _persist_configuration(self, config_file):
    model_config = {'arch': 'keras_arch.json', 'weights': 'keras_weights.h5', 'epochs': self.current_epoch}
    utils.dump_obj_as_json_to_file(config_file, model_config)
def _persist_configuration(self, config_file):
    model_config = {'arch': 'keras_arch.json', 'weights': 'keras_weights.h5', 'epochs': self.current_epoch}
    utils.dump_obj_as_json_to_file(config_file, model_config)