Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #577 from rsepassi/push
Browse files Browse the repository at this point in the history
v1.5.1
  • Loading branch information
lukaszkaiser authored Feb 12, 2018
2 parents 0d464ff + 50f38d5 commit 64d1f96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='tensor2tensor',
version='1.5.0',
version='1.5.1',
description='Tensor2Tensor',
author='Google Inc.',
author_email='no-reply@google.com',
Expand Down
4 changes: 3 additions & 1 deletion tensor2tensor/bin/t2t_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ def save_metadata(hparams):
# Save hparams as hparams.json
hparams_fname = os.path.join(output_dir, "hparams.json")
with tf.gfile.Open(hparams_fname, "w") as f:
f.write(hparams.to_json(indent=0, sort_keys=True))
# TODO(lukaszkaiser): use the first line once we require TF 1.5+.
# f.write(hparams.to_json(indent=0, sort_keys=True))
f.write(hparams.to_json())


def execute_schedule(exp):
Expand Down

0 comments on commit 64d1f96

Please sign in to comment.