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

IllegalArgumentException "Unknown EntryType enum second" when loading saved model. #22

Open
dozaza opened this issue Jan 19, 2020 · 0 comments

Comments

@dozaza
Copy link

dozaza commented Jan 19, 2020

I'm using FastText to train a model and all is OK, but I got following exception when loading from saved files:

Stacktrace:
Exception in thread "main" java.lang.IllegalArgumentException: Unknown EntryType enum second :136
at com.mayabot.mynlp.fasttext.EntryType$Companion.fromValue(Dictionary.kt:651)
at com.mayabot.mynlp.fasttext.Dictionary.load(Dictionary.kt:596)
at com.mayabot.mynlp.fasttext.FastText$Companion.loadModel(FastText.kt:410)
at com.mayabot.mynlp.fasttext.FastText.loadModel(FastText.kt)

Version: "com.mayabot" % "fastText4j" % "1.2.3".

Plz help me and let me know if you want more information.

Thx!

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

1 participant