When run greedy_decode_test(‘You are almost done with the assignment!’, NMTAttn=model, vocab_file=VOCAB_FILE, vocab_dir=VOCAB_DIR); goes to infinite loop. However, if i remove !, it could give a result.
2 Likes
For me, it seems to be related to input sentence length. if you truncate to “You are almost done” it completes in a few seconds.