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
Version 1.0.5 currently fails with the following stack trace:
Traceback (most recent call last):
File "run.py", line 71, in <module>
data = prepare_dataset(test_sentences, word_to_id, char_to_id, lower, True)
File "~/src/Neural-ParsCit/loader.py", line 151, in prepare_dataset
tags = [tag_to_id[w[-1]] for w in s]
TypeError: 'bool' object has no attribute '__getitem__'
The cause of the problem is a mismatch between the parameter list:
Version 1.0.5 currently fails with the following stack trace:
The cause of the problem is a mismatch between the parameter list:
loader.py:128: def prepare_dataset(sentences, word_to_id, char_to_id, tag_to_id, lower=False, zeros=False):
And the call site:
run.py:71: data = prepare_dataset(test_sentences, word_to_id, char_to_id, lower, True)
Version 1.0.4 does not have this issue.
The text was updated successfully, but these errors were encountered: