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
I installed the package according to the requirements. I wanted to use the pre trained model to make predictions, but it failed to run.
Two error was reported: 1. allennlp.common.checks.ConfigurationError: Extra parameters passed to SpanModel: {'relation_head_type': 'proper', 'use_bilstm_after_embedder': False, 'use_double_mix_embedder': False, 'use_ner_embeds': False}
Traceback (most recent call last):
File "X:\workspace\python\papercode@aspect\Span-ASTE\aste\test.py", line 4, in
model.predict('test.txt', "pred.txt")
File "X:\workspace\python\papercode@aspect\Span-ASTE\aste\wrapper.py", line 83, in predict
with open(path_temp_out) as f: 2. FileNotFoundError: [Errno 2] No such file or directory: 'X:\workspace\python\papercode\@aspect\Span-ASTE\pretrained_dir\temp_data\pred_out.json'
The text was updated successfully, but these errors were encountered:
I installed the package according to the requirements. I wanted to use the pre trained model to make predictions, but it failed to run.
Two error was reported:
1. allennlp.common.checks.ConfigurationError: Extra parameters passed to SpanModel: {'relation_head_type': 'proper', 'use_bilstm_after_embedder': False, 'use_double_mix_embedder': False, 'use_ner_embeds': False}
Traceback (most recent call last):
File "X:\workspace\python\papercode@aspect\Span-ASTE\aste\test.py", line 4, in
model.predict('test.txt', "pred.txt")
File "X:\workspace\python\papercode@aspect\Span-ASTE\aste\wrapper.py", line 83, in predict
with open(path_temp_out) as f:
2. FileNotFoundError: [Errno 2] No such file or directory: 'X:\workspace\python\papercode\@aspect\Span-ASTE\pretrained_dir\temp_data\pred_out.json'
The text was updated successfully, but these errors were encountered: