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 379 forks source link

Avoiding hard coding in dataset file #254

Closed nghiahuynh-ai closed 1 month ago

nghiahuynh-ai commented 1 month ago

Untitled

jiaqili3 commented 1 month ago

@nghiahuynh-ai Thanks for the advice, it's surely a good practice to avoid hard coding configurations. In this specific case, limiting the duration of training samples there for libritts is understandable, and there's a printout for this. I'll add a pr to improve this.