"092/benchmark_dataset.py" did not exist on "9ff70a90d6d4f3e0fe99e4c6dca5308183e528a4"
datasets_test.py 303 Bytes
Newer Older
moto's avatar
moto committed
1
2
from torchaudio.datasets.vctk import VCTK

3
from torchaudio_unittest.common_utils import (
moto's avatar
moto committed
4
5
6
7
8
9
10
11
12
13
14
15
    TorchaudioTestCase,
    get_asset_path,
)


class TestDatasets(TorchaudioTestCase):
    backend = 'default'
    path = get_asset_path()

    def test_vctk(self):
        data = VCTK(self.path)
        data[0]