Skip to content

Commit

Permalink
rm assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Sep 27, 2024
1 parent 7723cb3 commit 3f4712f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wenet/dataset/datapipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ def __init__(self,
super().__init__()
if shard_by_files:
# shard by files
assert isinstance(filenames, PathLike)
info = torch.utils.data.get_worker_info()
if info is not None:
n_workers_per_device = info.num_workers
Expand Down

0 comments on commit 3f4712f

Please sign in to comment.