@verbose: be talkative?
self.load_info(model_name)
load_dict = self._build()
saver = tf.train.Saver(load_dict)
ckpt = tf.train.get_checkpoint_state("./")
if ckpt and ckpt.model_checkpoint_path:
saver.restore(self.session, ckpt.model_checkpoint_path)
After Change
@verbose: be talkative?
self.load_info(model_name)
self._build()
load_dict = self.save_dict or tf.global_variables()
saver = tf.train.Saver(load_dict)
ckpt = tf.train.get_checkpoint_state("./")
if ckpt and ckpt.model_checkpoint_path: