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

调用loadGoogleModel模型,产生如下报错 #44

Open
baymaxZ0Z0 opened this issue Mar 29, 2019 · 1 comment
Open

调用loadGoogleModel模型,产生如下报错 #44

baymaxZ0Z0 opened this issue Mar 29, 2019 · 1 comment

Comments

@baymaxZ0Z0
Copy link

Exception in thread "main" java.lang.NumberFormatException: For input string: " �1 � 2.2万吨��`6=+f�>o��>�;b>��R=~"2��W6=��)�%�������E��=s���l"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:569)
at java.lang.Integer.parseInt(Integer.java:615)
at com.ansj.vec.Word2VEC.loadGoogleModel(Word2VEC.java:80)
at test.Test.main(Test.java:10)

@ansjsun
Copy link
Member

ansjsun commented Apr 12, 2019

是google 训练的model 吗?? 不要 text的 要二进制

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