Skip to content

Exit early if src/tgt files do not exist #1123

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

Merged
merged 1 commit into from
Dec 19, 2018

Conversation

sumith1896
Copy link
Contributor

Handful of times I've preprocessed train files correctly only to realize at a later point that my path to valid files were wrong, do file exists check early on! Minor nit

@vince62s vince62s merged commit 94cc2b6 into OpenNMT:master Dec 19, 2018
@sumith1896 sumith1896 deleted the exitearly branch December 19, 2018 22:56
@sumith1896
Copy link
Contributor Author

Thanks @vince62s

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

Successfully merging this pull request may close these issues.

2 participants