def save(self, sess, checkpoint_dir, step):
    model_name = 'deblur.model'
    if (not os.path.exists(checkpoint_dir)):
        os.makedirs(checkpoint_dir)
    self.saver.save(sess, os.path.join(checkpoint_dir, model_name), global_step=step)
def save(self, sess, checkpoint_dir, step):
    model_name = 'deblur.model'
    if (not os.path.exists(checkpoint_dir)):
        os.makedirs(checkpoint_dir)
    self.saver.save(sess, os.path.join(checkpoint_dir, model_name), global_step=step)