BUG: wrong path of g-{language.lower()}.bin in melotts.py line 164

#1
by MorganFace - opened

File "/mnt/ssd/axera/MeloTTS/python/melotts.py", line 164, in main
g = np.fromfile(f"../models/g-{language.lower()}.bin", dtype=np.float32).reshape(1, 256, 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '../models/g-zh_mix_en.bin'

that should be ../g-{language.lower()}.bin

AXERA org

Thank you for your report, it's a mistake caused by tranfering the project from github to hf.

AXERA org

Already fixed in main

inoryQwQ changed discussion status to closed

Sign up or log in to comment