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
Training #2
Comments
Yes. You could train the parser using the following command: But before you start training the parser, make sure you get all the preprocess files and the aligned amr file ready. Chuan |
Thanks! |
For preprocess files you mean running this |
Yes. |
Hi Chuan, I can't save the trained model because of this exception (which is raised in model.py at line 338): Saving model error <type 'exceptions.ValueError'> Do you have any idea of what causes this problem? Marco |
Hey, |
From what I could gather, it's a python bug that is fixed only in python 3.0. http://bugs.python.org/issue11564 They were discussing it here too: numpy/numpy#2396 |
I've updated the parser to the newest version, which should not have saving model error. The problem is python2's bug, however it turns out the initial shape of the weight matrix is too big and the current version use a small initial parameter. |
Thanks for the update |
Hey would it be possible to update the readme? |
@IceIceRabbit Hi, I've update the readme, feel free to comment for further problems. |
Hi, is there a way to train the parser on a different dataset?
Thanks,
Marco
The text was updated successfully, but these errors were encountered: