open-mmlab / Amphion

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.
https://openhlt.github.io/amphion/
MIT License
4.45k stars 381 forks source link

Fix bug for issue 76 (Import VariableSampler error) #82

Closed HeCheng0625 closed 8 months ago

HeCheng0625 commented 8 months ago

Fix bug for issue 76 (https://github.com/open-mmlab/Amphion/issues/76): ImportError: cannot import name 'VariableSampler' from 'models.base.base_sampler'. Replace VariableSampler from models.tts.valle.valle_dataset to models.base.base_sampler