-
Notifications
You must be signed in to change notification settings - Fork 23
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
加载模型出错 #26
Comments
你记载的模型设是官方原版训练出来的还是通过java版本训练出来的
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: yudian931122 <notifications@github.com>
发送时间: 2020年7月21日 18:57
收件人: mayabot/fastText4j <fastText4j@noreply.github.com>
抄送: Subscribed <subscribed@noreply.github.com>
主题: 回复:[mayabot/fastText4j] 加载模型出错 (#26)
|
也是通过这个java版本训练出来的 |
有办法吗?大佬 @jimichan |
数据能不能发来我测试一下,把你的训练参数代码也给我看一下. |
数据不太方便给,见谅哈 |
能解决就好 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
加载模型时,出现如下错误:
Exception in thread "main" java.lang.IllegalArgumentException: Unknown EntryType enum second :136
at com.mayabot.nlp.fasttext.dictionary.EntryType$Companion.fromValue(DictUtils.kt:57)
at com.mayabot.nlp.fasttext.dictionary.Dictionary$Companion.loadModel(Dictionary.kt:384)
at com.mayabot.nlp.fasttext.FastText$Companion.loadModel(FastText.kt:711)
at cn.com.duiba.spark.dmp.api.FasttextTest.loadModel(FasttextTest.java:61)
at cn.com.duiba.spark.dmp.api.FasttextTest.main(FasttextTest.java:43)
求解
The text was updated successfully, but these errors were encountered: