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

Commit b8e59e7

Browse files
author
Ryan Sepassi
committed
open source fixes
PiperOrigin-RevId: 168049257
1 parent 1d76955 commit b8e59e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensor2tensor/utils/trainer_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def save_metadata(output_dir, hparams):
265265
else:
266266
flags_dict = FLAGS.__dict__["__flags"]
267267
flags_str = "\n".join(
268-
["--%s=%s" % (name, str(f.value)) for (name, f) in flags_dict.items()])
268+
["--%s=%s" % (name, str(f)) for (name, f) in flags_dict.items()])
269269
t2t_flags_str = None
270270

271271
flags_txt = os.path.join(output_dir, "flags.txt")

0 commit comments

Comments
 (0)