Skip to content

Commit

Permalink
update dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
Caroline Chen committed Apr 8, 2022
1 parent 96dfc7b commit 3d1bea1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions test/torchaudio_unittest/datasets/quesst14_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ def _save_sample(dataset_dir, folder, language, index, sample_rate, seed):
data, _ = apply_effects_tensor(
raw_data,
sample_rate=sample_rate,
effects=[
["gain", "-3.0"],
],
)
sample = (data.squeeze(0), Path(file_path).with_suffix("").name)

Expand Down
1 change: 0 additions & 1 deletion torchaudio/datasets/quesst14.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def _load_sample(self, n: int) -> Tuple[torch.Tensor, str]:
[
["channels", "1"],
["rate", "16000"],
["gain", "-3.0"],
],
)
wav = wav.squeeze(0)
Expand Down

0 comments on commit 3d1bea1

Please sign in to comment.