-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Vocab.load throws error due to "/" operator usage with strings. #617
Comments
It seems like this / idiom is used throughout your code, so obviously I am missing something... Apologies. |
Am running into a similar issue trying to load a saved EntityRecogniser. |
Ok found it, so it's using pathlib . try:
should work! |
For future reference: All |
FYI, this is not fixed for loading a saved EntityRecognizer (also ran into same issue) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When I attempt to run Vocab.load(path) I get the following error:
Looking at error and code it appears that '/' operator is being applied to strings, which my Python does not agree with. Is this an issue with my Python version or something similar? I've tested the use of '/' with strings in Python 3 as well and get the same error.
Thanks!!
Environment
The text was updated successfully, but these errors were encountered: