code: def _save_model(self, section):
          
          checkpoint_name = self.flags['LOGGING_DIRECTORY'] + 'part_%d' % section + '.ckpt'
          save_path = self.saver.save(self.sess, checkpoint_name)
          print("Model saved in file: %s" % save_path)
docs: Save model in the logging directory