forked from OpenNMT/OpenNMT-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use multiprocessing to speed up preprocessing (OpenNMT#1569)
* wip multiprocessing preprocess * add function maybe_load_vocab in preprocess * do not build counter for audio src * more detailed check for existing shards * better logs
- Loading branch information
1 parent
8cd68bc
commit cd97a85
Showing
2 changed files
with
164 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters