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

Neural Monkey does not throw exception when main.initial_variables contains nonexistent path. #820

Open
varisd opened this issue May 6, 2019 · 0 comments
Labels

Comments

@varisd
Copy link
Member

varisd commented May 6, 2019

When running neuralmonkey-train (and possibly *run) with main.initial_variables set to nonexistent path, Neural Monkey does not throw an exception and continues with execution (probably with randomly initialized variables instead). This does not happen, if the variables directory exists and only the file prefix is incorrect.

e.g.:
bin/neuralmonkey-train tests/bpe.ini -s 'main.initial_variables=["some-directory/variables.data"]'
(If "some-directory" does not exist, this runs normally even though it should fail.)
(If "some-directory" exists and variables.data* is nonexistent, neuralmonkey-train properly trains.)

@varisd varisd added the bug label May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant