Skip to content

Commit

Permalink
Fix format specifier (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
mecab authored and ibab committed Sep 22, 2016
1 parent eb0ad56 commit 88e77bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def main():
writer.add_summary(summary, step)

duration = time.time() - start_time
print('step %d - loss = %.3f, (%.3f sec/step)'
print('step {:d} - loss = {:.3f}, ({:.3f} sec/step)'
.format(step, loss_value, duration))

if step % 50 == 0:
Expand Down

0 comments on commit 88e77bf

Please sign in to comment.