diff --git a/test/wenet/dataset/test_datapipes.py b/test/wenet/dataset/test_datapipes.py index 748c749bd9..35f4fa5b05 100644 --- a/test/wenet/dataset/test_datapipes.py +++ b/test/wenet/dataset/test_datapipes.py @@ -34,4 +34,4 @@ def test_dynamic_batch_datapipe(data_list): padding) for d in dataset: - assert d['feats'].size(0) <= max_frames_in_batch + assert d['feats'].size(1) <= max_frames_in_batch