def test_disckcache_iterator(self): data = COMMONVOICE(self.path, url="tatar") data = dataset_utils.diskcache_iterator(data) # Save data[0] # Load data[0]
def test_commonvoice_diskcache(self): data = COMMONVOICE(self.path, url="tatar") data = diskcache_iterator(data) # Save data[0] # Load data[0]
def test_bg_iterator(self): data = COMMONVOICE(self.path, version="cv-corpus-4-2019-12-10", language="tatar") data = dataset_utils.bg_iterator(data, 5) for _ in data: pass
def test_commonvoice_diskcache(self): path = os.path.join(self.path, "commonvoice") data = COMMONVOICE(path, "train.tsv", "tatar") data = DiskCache(data) # Save data[0] # Load data[0]
def test_disckcache_iterator(self): data = COMMONVOICE(self.path, version="cv-corpus-4-2019-12-10", language="tatar") data = dataset_utils.diskcache_iterator(data) # Save data[0] # Load data[0]
def test_commonvoice_bg(self): data = COMMONVOICE(self.path, url="tatar") data = bg_iterator(data, 5) for _ in data: pass
def test_commonvoice(self): data = COMMONVOICE(self.path, url="tatar") data[0]
def test_bg_iterator(self): data = COMMONVOICE(self.path, url="tatar") data = dataset_utils.bg_iterator(data, 5) for _ in data: pass
def test_commonvoice(self): path = os.path.join(self.path, "commonvoice") data = COMMONVOICE(path, "train.tsv", "tatar") data[0]
def test_commonvoice_bg(self): path = os.path.join(self.path, "commonvoice") data = COMMONVOICE(path, "train.tsv", "tatar") data = bg_iterator(data, 5) for d in data: pass