Amphion (/æmˈfaɪən/) is a toolkit for Audio, Music, and Speech Generation. Its purpose is to support reproducible research and help junior researchers and engineers get started in the field of audio, music, and speech generation research and development.
When I write "dataset_list":["train-clean-360", "train-clean-100"] in valle_v2's exp_ar_libritts.json, and then execute
"python -m models.tts.valle_v2.libritts_dataset"
, the code self.trans_cache["Duration"] of train-clean-360 can be calculated correctly, but it will get stuck when calculating the self.trans_cache["Duration"] of the second dataset train-clean-100.
I put the two lines of code for setting ID in libritts_dataset.py
"self.metadata_cache.set_index("ID", inplace=True)
self.trans_cache.set_index("ID", inplace=True)"
after the calculation of duration and outside the for loop, and the above problem will not occur.
Is the above problem caused by my improper operation?
When I write "dataset_list":["train-clean-360", "train-clean-100"] in valle_v2's exp_ar_libritts.json, and then execute "python -m models.tts.valle_v2.libritts_dataset" , the code self.trans_cache["Duration"] of train-clean-360 can be calculated correctly, but it will get stuck when calculating the self.trans_cache["Duration"] of the second dataset train-clean-100. I put the two lines of code for setting ID in libritts_dataset.py "self.metadata_cache.set_index("ID", inplace=True) self.trans_cache.set_index("ID", inplace=True)" after the calculation of duration and outside the for loop, and the above problem will not occur. Is the above problem caused by my improper operation?