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

预测的时候报错 #57

Open
zhang2010hao opened this issue Sep 19, 2018 · 1 comment
Open

预测的时候报错 #57

zhang2010hao opened this issue Sep 19, 2018 · 1 comment

Comments

@zhang2010hao
Copy link

TensorFlow.python.framework.errors_impl.InvalidArgumentErrot: indices.shape[-1] must be <= params.rank, but saw indices shape:[?, 11] and params shape:[1, 16] for 'ner/cond/GatherNd' with input shapes: [1, 16], [? 11]

错误的是在rnn.py的line65行,调用tf.contrib.crf.cfr_log_likelihoood时爆出的,能帮忙看下吗

@MASTERPlECE
Copy link

TensorFlow.python.framework.errors_impl.InvalidArgumentErrot: indices.shape[-1] must be <= params.rank, but saw indices shape:[?, 11] and params shape:[1, 16] for 'ner/cond/GatherNd' with input shapes: [1, 16], [? 11]

错误的是在rnn.py的line65行,调用tf.contrib.crf.cfr_log_likelihoood时爆出的,能帮忙看下吗

看看这个#8

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

2 participants