Skip to content

Commit

Permalink
stage1 shuffle max
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Mar 20, 2024
1 parent 0f2f339 commit 8bdfe7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wenet/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.

from functools import partial
import sys
from typing import Optional
from wenet.dataset import processor
from wenet.dataset.datapipes import (WenetRawDatasetSource,
Expand Down Expand Up @@ -44,7 +45,7 @@ def Dataset(data_type,
cycle = conf.get('cycle', 1)
# stage1 shuffle: source
list_shuffle = conf.get('list_shuffle', True)
list_shuffle_size = 10000000
list_shuffle_size = sys.maxsize
if list_shuffle:
list_shuffle_conf = conf.get('list_shuffle_conf', {})
list_shuffle_size = list_shuffle_conf.get('shuffle_size',
Expand Down

0 comments on commit 8bdfe7c

Please # to comment.