Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问有谁碰到这个错误么Labels length is zero in batch 8[[{{node ctc/CTCLoss}}]] #368

Open
Cocoalate opened this issue Sep 29, 2020 · 0 comments

Comments

@Cocoalate
Copy link

Cocoalate commented Sep 29, 2020

训练时报错
tensorflow.python.framework.errors_impl.InvalidArgumentError: Labels length is zero in batch 8
[[{{node ctc/CTCLoss}}]]

发现batchsize设置很小的时候(比如说2)可以正常运行,但是batchsize设置为32,64或者更大的时候就会报这个错,图片和label都能对上,有时可以正常跑完一个epoch但是第二个epoch报这个错...卡了几天了,我的label_length都是10没有是0的情况...求大神指点

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant