You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I receive a NotImplementedError raised as follows:
Traceback (most recent call last):
File "/home/karthik/anaconda3/envs/spanrel/bin/allennlp", line 8, in <module>
sys.exit(run())
File "/home/karthik/anaconda3/envs/spanrel/lib/python3.6/site-packages/allennlp/run.py", line 18, in run
main(prog="allennlp")
File "/home/karthik/anaconda3/envs/spanrel/lib/python3.6/site-packages/allennlp/commands/__init__.py", line 102, in main
args.func(args)
File "/home/karthik/anaconda3/envs/spanrel/lib/python3.6/site-packages/allennlp/commands/predict.py", line 204, in _predict
manager.run()
File "/home/karthik/anaconda3/envs/spanrel/lib/python3.6/site-packages/allennlp/commands/predict.py", line 183, in run
for model_input_json, result in zip(batch_json, self._predict_json(batch_json)):
File "/home/karthik/anaconda3/envs/spanrel/lib/python3.6/site-packages/allennlp/commands/predict.py", line 129, in _predict_json
results = [self._predictor.predict_json(batch_data[0])]
File "/home/karthik/anaconda3/envs/spanrel/lib/python3.6/site-packages/allennlp/predictors/predictor.py", line 57, in predict_json
instance = self._json_to_instance(inputs)
File "/home/karthik/anaconda3/envs/spanrel/lib/python3.6/site-packages/allennlp/predictors/predictor.py", line 104, in _json_to_instance
raise NotImplementedError
NotImplementedError
Any fix for this?
(allennlp 0.8.4)
The text was updated successfully, but these errors were encountered:
I want to predict on single sentences using the multinlp pretrained model on SRL using this command
Unfortunately, I receive a NotImplementedError raised as follows:
Any fix for this?
(allennlp 0.8.4)
The text was updated successfully, but these errors were encountered: