forked from PaddlePaddle/Paddle
-
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.
add multiprocessing to MapDataset (PaddlePaddle#308)
* add multiprocessing to MapDataset * Add multiprocess requirement * Add contiguous arguement to shard function * change shard and add split check for load_dataset * minor fix Co-authored-by: Guo Sheng <whucsgs@163.com>
- Loading branch information
1 parent
aca073a
commit 2aef4b3
Showing
2 changed files
with
120 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ jieba | |
h5py | ||
colorlog | ||
colorama | ||
seqeval | ||
seqeval | ||
multiprocess |