diff --git a/wespeaker/dataset/processor.py b/wespeaker/dataset/processor.py index 33d23d68..f08d3e58 100644 --- a/wespeaker/dataset/processor.py +++ b/wespeaker/dataset/processor.py @@ -77,7 +77,7 @@ def tar_file_and_group(data): """ for sample in data: assert 'stream' in sample - stream = tarfile.open(fileobj=sample['stream'], mode="r|*") + stream = tarfile.open(fileobj=sample['stream'], mode="r:*") prev_prefix = None example = {} valid = True