Kyubyong / transformer

A TensorFlow Implementation of the Transformer: Attention Is All You Need
Apache License 2.0
4.28k stars 1.3k forks source link

run test error #152

Open anpingbo opened 4 years ago

anpingbo commented 4 years ago

i used your pre-model to run test, but i encounter "the InvalidArgumentError (see above for traceback): indices[29,100] = 100 is not in [0, 100)" error, i am not sure if there some dismatch shapes. i used the command: python test.py --ckpt log/1/iwslt2016_E19L2.64-29146 thank you!