openspeech-team / openspeech

Open-Source Toolkit for End-to-End Speech Recognition leveraging PyTorch-Lightning and Hydra.
https://openspeech-team.github.io/openspeech/
MIT License
672 stars 112 forks source link

Fix value error in dataset module #174

Closed roytravel closed 2 years ago

roytravel commented 2 years ago

What does this PR do?

Fix value error when it do unpack. I referred here: https://github.com/sooftware/kospeech/issues/145

""" Traceback (most recent call last): File "./openspeech_cli/hydra_train.py", line 48, in hydra_main data_module.setup() File "/home/roytravel/github/openspeech/openspeech/datasets/ksponspeech/lit_data_module.py", line 171, in setup del_silence=self.configs.audio.del_silence if stage == 'train' else False, File "/home/roytravel/github/openspeech/openspeech/data/audio/dataset.py", line 142, in init self.audio_paths, self.transcripts, self.augments = zip(*tmp) ValueError: not enough values to unpack (expected 3, got 0) """

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag

upskyy commented 2 years ago

@roytravel Thank you for your interest and PR. I will merge.