Kyubyong / transformer

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

tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[27,100] = 100 is not in [0, 100) #181

Open keaiyang222 opened 2 years ago

keaiyang222 commented 2 years ago

When I run train.py, the code shows xx running to a 5% break and shows the following problem: tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[27,100] = 100 is not in [0, 100)

Does anyone know how I can solve this problem?

Halafz7 commented 1 year ago

I also have the same problem, let me know if u're done with this problem!

keaiyang222 commented 1 year ago

Sorry, I didn't solve that problem either.

------------------ 原始邮件 ------------------ 发件人: "Kyubyong/transformer" @.>; 发送时间: 2023年3月1日(星期三) 下午5:28 @.>; 抄送: "zeyang @.**@.>; 主题: Re: [Kyubyong/transformer] tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[27,100] = 100 is not in [0, 100) (Issue #181)

I also have the same problem, let me know if u're done with this problem!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>