fairseq
fairseq copied to clipboard
Use absolute path in scripts
The script with relative paths raises an error of "No such file or directory: data-bin/wikitext-103/dict.txt" in fairseq-hydra-train
.
Before submitting
- [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
- [x] Did you read the contributor guideline?
- [x] Did you make sure to update the docs?
- [x] Did you write any new necessary tests?
What does this PR do?
The script with relative paths raises an error of "No such file or directory: data-bin/wikitext-103/dict.txt" in fairseq-hydra-train
.
PR review
Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃
Thanks, this saved me some time!