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

SystemError when saving the model. #15

Open
TigranGalstyan opened this issue Mar 5, 2018 · 1 comment
Open

SystemError when saving the model. #15

TigranGalstyan opened this issue Mar 5, 2018 · 1 comment

Comments

@TigranGalstyan
Copy link

We are training on AMR2.0 train set, and starting from 2nd epoch pickle.dump in model.save_model crashes, raising 'SystemError: error return without exception set'. When training on AMR2.0 + BIO_AMR train set, the exception occurs right after the first epoch. Training only on BIO_AMR works fine.
I see unused function (model.toJSON). Can it replace model.save_model and if yes, would that help in this case?
Thanks

@Juicechuan
Copy link
Member

You could try to uncomment this line and try saving the model again.

This toJSON method is not fully supported.

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