Skip to content

Commit

Permalink
Set verbosity INFO.
Browse files Browse the repository at this point in the history
  • Loading branch information
thtrieu committed Aug 16, 2019
1 parent e05448b commit 45cf2b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion back_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@


if __name__ == '__main__':
tf.logging.set_verbosity(tf.logging.INFO)

# Convert directory into checkpoints
from_ckpt = FLAGS.from_ckpt
to_ckpt = FLAGS.to_ckpt

if tf.gfile.IsDirectory(FLAGS.from_ckpt):
from_ckpt = tf.train.latest_checkpoint(FLAGS.from_ckpt)
if tf.gfile.IsDirectory(FLAGS.to_ckpt):
Expand Down

0 comments on commit 45cf2b1

Please sign in to comment.