Skip to content
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

theano.function() #6

Open
ttslr opened this issue Dec 19, 2017 · 1 comment
Open

theano.function() #6

ttslr opened this issue Dec 19, 2017 · 1 comment

Comments

@ttslr
Copy link

ttslr commented Dec 19, 2017

I want try to change the code from line 116 in "sequence_labeler.py",
from:
input_vars_train = [word_ids, char_ids, char_mask, label_ids, learningrate]
to
input_vars_train = [word_ids, char_ids, # myowntag_ids, char_mask, # myowntag_mask, label_ids, learningrate]

and then I got this error:
ValueError: dimension mismatch in args to gemm

I don't know why is this happen, can you help me to explain why is this happen?

Thank you very much!
Best Regards!

@marekrei
Copy link
Owner

Difficult to say. What line triggers the error?
Make sure you are passing the correct number of arguments to the updated train() function in sequence_labeling_experiment.py:130

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

No branches or pull requests

2 participants