lmdb.Error: cache/exp1000train: No such file or directory
I installed everything as described. When I try to run start_demo or the eval script, I get the error:
Traceback (most recent call last):
File "eval.py", line 77, in
Do I have to run training first, although model weights are given?
I also have another problem when trying to run exec.py directly:
If I install all requirements on Python 3.6, I run eventually into the error: contextlib doesn't have the attribure 'nullcontext()'
I read in a forum that migration to python 3.7 solves the issue. So I created another conda environment with python3.7 and installed all requirements. However, then transformers seems to be incompatible, as this error arises: packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'
which is an incompatibility issue with the transformers package. How can I solve this?
It's been a while since I've worked on this code and this error doesn't seem familiar....
You could think something in transformers>=4.1,<4.6 as that was the version that was supported with Allennlp 2.4.
Let me know if you solve it.
It is simply not possible anymore in Python 3.7 to install Allennlp 2.4 that does not conflict with any version of transformers in >=4.1,<4.6. The error persists. However, all requirements install without any problem in Python 3.6, but then many conflicts witht the code in general arises. I think the code has been written for python 3.7