-
Notifications
You must be signed in to change notification settings - Fork 65
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
TypeError: can't pickle Environment objects on Windows/MacOs #14
Comments
Okay - disabling lmdb in embedding-registry.json seems to make that exception go away. BUT now there's another exception:
|
Hello! I haven't been able to reproduce the exception in Linux so it might be windows related. I'm trying to get a windows machine in order to try again. In the meanwhile, can you tell us a little more about your set-up? For instance, are you using a GPU? Did you use the Thanks! |
Hi sorry I wasn't very clear about my spec:
|
By the way I also solved this error along the way: DLL load failed message when scikit-learn is imported. The solution is to install numpy‑1.14.6+mkl‑cp36‑cp36m‑win_amd64.whl (depending on the arch and Python version) from https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy |
Ok, we had some problems before with Python 3.6, I honestly don't think that the Python version is the problem, but if you have the time, can you try creating a Python 3.5 environment with conda |
Ok I set up Python 3.5 (version 3.5.6 via Anaconda) environment and created another env_python35 under delft dir, here are the errors (infinite recursion):
|
Thanks for the info! I have been looking around and apparently the |
@fortepianissimo I finally got hold of a Windows machine and was able to reproduce the error, could you please comment lines 77 and 78 in the file def __getattr__(self, name):
return getattr(self.model, name) and try again? Note 1: Please also disable lmdb in Also, please let me know if the workaround works! |
Hello, I'm new to this. My specs are:
And I want to ask for 2 things:
Edited: For the first question, I've found the answer (set the "embedding-lmdb-path" to "None") |
I face the same issue as @Protossnam |
@davidlenz Sadly, I had to boot my laptop in Linux (Ubuntu) and run the tool. On Linux, I didn't face that issue. It's maybe the problem with Windows and I also looking forward to hearing new update on this too |
Hi all, My 2 cts Olivier |
I have this issue when the download fails and the database is not correctly initialised I supposed:
Update: I tried to run again and the database was correctly created (via a local version of glove), however the problem occurs probably due to multithreading... To reproduce it I used:
Update: I'm having this problem with macOS. |
I have the same problem with MacOs. The solution is to disable the multithreading by setting |
I'm running under Windows 10, following along the instructions given by the readme document. When trying to retrain the model using this command
python nerTagger.py --dataset-type conll2003 train_eval
I ran into the following exception (right after compiling embeddings) - any tips?
Thank you for the wonderful work!
The text was updated successfully, but these errors were encountered: