-
Notifications
You must be signed in to change notification settings - Fork 101
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
hi exception: java.lang.IndexOutOfBoundsException #13
Comments
Have you solved the problem? |
1 similar comment
Have you solved the problem? |
Came across the same problem. Could anyone help with this? |
+1 |
Finally I use this instead: https://github.com/ivanhk/fastText_java |
Could you release the code that caused the problem. I tried predictProba and it works fine.
|
i wonder what is the rule of the text to be predict,i test text,text+"\t"+text,text+"\n"+text,etc,all of them come to index out of bounds.and the problem is also at com.github.jfasttext.JFastText.predictProba(JFastText.java:60) |
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at com.github.jfasttext.JFastText.predictProba(JFastText.java:60)
The text was updated successfully, but these errors were encountered: