You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
想请问下是否可以load 用facebook官方python接口训练出的bin classifier
我直接load 会报错:
Exception in thread "main" java.lang.RuntimeException: Model file has wrong file format!
at com.mayabot.mynlp.fasttext.LoadFastTextFromClangModel.loadCModel(LoadFastTextFromClangModel.kt:32)
at com.mayabot.mynlp.fasttext.LoadFastTextFromClangModel.loadCModel(LoadFastTextFromClangModel.kt:124)
at com.mayabot.mynlp.fasttext.FastText$Companion.loadFasttextBinModel(FastText.kt:366)
at com.mayabot.mynlp.fasttext.FastText.loadFasttextBinModel(FastText.kt)
The text was updated successfully, but these errors were encountered:
fix in 3.1.6
------------------ Original ------------------
From: "ares89"<notifications@github.com>;
Date: Mon, May 25, 2020 04:39 PM
To: "mayabot/fastText4j"<fastText4j@noreply.github.com>;
Cc: "jimi"<jimichan@mayabot.com>; "Comment"<comment@noreply.github.com>;
Subject: Re: [mayabot/fastText4j] load 官方python版bin classifier 报错 (#16)
使用了3.1.2依然报错哦
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
想请问下是否可以load 用facebook官方python接口训练出的bin classifier
我直接load 会报错:
Exception in thread "main" java.lang.RuntimeException: Model file has wrong file format!
at com.mayabot.mynlp.fasttext.LoadFastTextFromClangModel.loadCModel(LoadFastTextFromClangModel.kt:32)
at com.mayabot.mynlp.fasttext.LoadFastTextFromClangModel.loadCModel(LoadFastTextFromClangModel.kt:124)
at com.mayabot.mynlp.fasttext.FastText$Companion.loadFasttextBinModel(FastText.kt:366)
at com.mayabot.mynlp.fasttext.FastText.loadFasttextBinModel(FastText.kt)
The text was updated successfully, but these errors were encountered: