-
Notifications
You must be signed in to change notification settings - Fork 55
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
ArrayField.empty_field problem with DatasetReader #27
Comments
Are you guys looking into this? This bug is preventing me from reproducing your work. |
We haven't seen this problem. Are you using the same AllenNLP version as in the requirements? |
I followed the instructions on this page https://github.com/allenai/specter I started in the Note I am using anaconda with WSL2. |
Hi guys, i am facing the same problem by following the instructions provided including the setups and requirements. i am trying to train using the original train.pkl and val.pkl using the following commands: ./scripts/run-exp-simple.sh -c experiment_configs/simple.jsonnet and receive: TypeError: ArrayField.empty_field: return type Would highly appreciate any thoughts on this issue. Cheers |
It turns out that there is something wrong with the allennlp installation itself, when i run allennlp on the command line the error shows up. I tried reinstalling the current allennlp version using pip install allennlp but then it shows no module allennlp.run. So i uninstalled allennlp and try reinstalling the requirement with pip and suddenly it works. I dont know how exactly i can replicate the solution but it may give hints to people who are experiencing the same problem. |
problem solved by this issue
|
I followed your instructions and I'm simply trying to get the predictor working with your dataset.
I see an error on initializing
from allennlp.data.dataset_readers import DatasetReader
Here's how I am using it. I am launching the predict_command.py with the following arguments (see below). I even tried running from embed.py with the same arguments you showed in the Readme.md and I get the same error which is why I am investigating it this way. It doesn't even get to reading the arguments and the program has crashed.
The text was updated successfully, but these errors were encountered: