Skip to content

Commit

Permalink
[dataset] change padding value to 0 (#2274)
Browse files Browse the repository at this point in the history
  • Loading branch information
robin1001 authored Jan 4, 2024
1 parent 2b621bd commit bb72548
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=-1)
padding_value=0)
padded_wavs = pad_sequence(sorted_wavs,
batch_first=True,
padding_value=0)
Expand Down

0 comments on commit bb72548

Please sign in to comment.