Skip to content

Conversation

metpallyv
Copy link

Here are the changes for this feature. I am getting an error while running the ner with gazetteer features.

File "./train.py", line 236, in
new_cost = f_train(*input)
File "/home/y/lib/python2.7/site-packages/theano/compile/function_module.py", line 786, in call
allow_downcast=s.allow_downcast)
File "/home/y/lib/python2.7/site-packages/theano/tensor/type.py", line 177, in filter
data.shape))
TypeError: ('Bad input argument to theano function with name "/home/vardhaman/lstm-crf-ner/tagger/model.py:400" at index 4(0-based)', 'Wrong number of dimensions: expected 1, got 2 with shape (8, 12).')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant