Skip to content

Commit

Permalink
Revert "[dataset] change padding value to 0 (#2274)" (#2276)
Browse files Browse the repository at this point in the history
This reverts commit bb72548.
  • Loading branch information
robin1001 authored Jan 4, 2024
1 parent bb72548 commit a4a1e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wenet/dataset/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def padding(data):
padding_value=0)
padding_labels = pad_sequence(sorted_labels,
batch_first=True,
padding_value=0)
padding_value=-1)
padded_wavs = pad_sequence(sorted_wavs,
batch_first=True,
padding_value=0)
Expand Down

0 comments on commit a4a1e48

Please sign in to comment.