netease-youdao / EmotiVoice

EmotiVoice 😊: a Multi-Voice and Prompt-Controlled TTS Engine
Apache License 2.0
6.9k stars 577 forks source link

AttributeError: 'NoneType' object has no attribute 'seek'. #27

Closed henjicc closed 8 months ago

henjicc commented 8 months ago

I tried to run the program in Windows 10 and the web page opens with an error AttributeError: 'NoneType' object has no attribute 'seek'. You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try to load from it instead. Snipaste_2023-11-15_17-20-30

syq163 commented 8 months ago

This issue may be attributed to a lack of model files.

henjicc commented 8 months ago

This issue may be attributed to a lack of model files.

I should have downloaded all the models I need. These are the ones, right? model01 model02

fayaz07 commented 8 months ago

Hey @henji-henji , where do we get the do*, checkpiont* files?

henjicc commented 8 months ago

Hey @henji-henji , where do we get the do, checkpiont files?

You can download these files from here, as mentioned in the README https://drive.google.com/drive/folders/1y6Xwj_GG9ulsAonca_unSGbJ4lxbNymM?usp=sharing

fayaz07 commented 8 months ago

Thanks @henji-henji

xinmos commented 8 months ago

This issue may be attributed to a lack of model files.

I should have downloaded all the models I need. These are the ones, right? model01 model02

Maybe you can try deleting the file extension ‘.zip’.

henjicc commented 8 months ago

I tried it and it works, thank you! @xinmos