Skip to content

Commit

Permalink
pbar correctly display the CTC decoding progress
Browse files Browse the repository at this point in the history
  • Loading branch information
haotianteng committed Aug 24, 2018
1 parent a444e8f commit 7da4d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chiron/chiron_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ def worker_fn():
decoded_fname, i, predict_val, logits_prob = sess.run(decode_ops, feed_dict={training: False})
decoded_fname = decoded_fname.decode("UTF-8")
val[decoded_fname][i] = (predict_val, logits_prob)
pbars.update(1,progress = len(val[name])*FLAGS.batch_size)
pbars.update_bar()
if len(val[name]) == N:
pbars.update(1,progress = len(val[name])*FLAGS.batch_size)
pbars.update_bar()
break

pbars.update(3,progress = f_i+1)
Expand Down

0 comments on commit 7da4d4e

Please sign in to comment.