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

TRANSFORMATION MODEL DIR - Missing files after training #10

Open
Crista23 opened this issue Mar 4, 2019 · 0 comments
Open

TRANSFORMATION MODEL DIR - Missing files after training #10

Crista23 opened this issue Mar 4, 2019 · 0 comments

Comments

@Crista23
Copy link

Crista23 commented Mar 4, 2019

The transformation parameters are set by default to "split:drop-ood:drop-rel:drop-mod" in line 38 of start_learning_training_models.py file. My model trains ok, but when applying it to simplify complex sentences it crashes because it cannot find the split nor the drop-rel model files in TRANSFORMATION MODEL DIR:

transformation model ['split', 'drop-ood', 'drop-rel', 'drop-mod']
Traceback (most recent call last):
File "start_simplifying_complex_sentence.py", line 141, in
probability_tables = functions_model_files.read_model_files(D2S_Config_data["TRANSFORMATION-MODEL-DIR"], D2S_Config_data["TRANSFORMATION-MODEL"])
File "./source/functions_model_files.py", line 16, in read_model_files

Can you please suggest how to fix this error? Is it possible that something went wrong with my Moses or MGiza installation? Thank you!

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

1 participant