Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix translate.py bug (OpenNMT#1317) (OpenNMT#1318)
`translate.py` would ignore all sentences after processing `shard_size*shard_size` sentences in `src`, if no `tgt` file was provided. This commit fixes this.
- Loading branch information