-
Notifications
You must be signed in to change notification settings - Fork 37
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
IndexError: index 1 is out of bounds for axis 0 with size 1 #9
Comments
你好,我也出现了这个问题,请问你解决了吗 |
我也遇到了这个问题,现在在看reader部分是不是有什么问题 |
好像是输入的预料里面没有匹配到任何的quality phrase, 导致训练随机森林的时候,类别长度只有1,最终 |
@transformerzhou 对的,代码目前没有对这个进行判断,所以会有可能触发这个报错。有兴趣的话可以提交一个PR,感谢~ |
请问问题解决了么?怎么解决的呀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好,我想问下,输入文件的格式是怎样的?我运行的时候出现以下bug,我猜测应该是输入特征的问题导致本来应该是二维输出最后变成了一维的。我的输入文件就是每行一条文本无空格,比如:
The text was updated successfully, but these errors were encountered: