diff --git a/test/torchaudio_unittest/functional/batch_consistency_test.py b/test/torchaudio_unittest/functional/batch_consistency_test.py index 44a9580fe8..d9b49dfa61 100644 --- a/test/torchaudio_unittest/functional/batch_consistency_test.py +++ b/test/torchaudio_unittest/functional/batch_consistency_test.py @@ -197,22 +197,6 @@ def test_sliding_window_cmn(self, center, norm_vars): F.sliding_window_cmn, spectrogram, center=center, norm_vars=norm_vars) - def test_vad_from_file(self): - filepath = common_utils.get_asset_path("vad-go-stereo-44100.wav") - waveform, sample_rate = common_utils.load_wav(filepath) - # Each channel is slightly offset - we can use this to create a batch - # with different items. - batch = waveform.view(2, 1, -1) - self.assert_batch_consistency(F.vad, batch, sample_rate=sample_rate) - - def test_vad_different_items(self): - """Separate test to ensure VAD consistency with differing items.""" - sample_rate = 44100 - torch.manual_seed(0) - waveforms = torch.rand(self.batch_size, 2, 100) - 0.5 - self.assert_batch_consistency( - F.vad, waveforms, sample_rate=sample_rate) - @common_utils.skipIfNoKaldi def test_compute_kaldi_pitch(self): sample_rate = 44100