Open HDUysz opened 5 months ago
Have you followed the README step by step ? You should first set:
model_name="speech_synthesizer-laura-en-libritts-16k-codec_nq2-pytorch"
and then run the command:
bash demo.sh --stage 1 --model_name ${model_name} --output_dir results --text "nothing was to be done but to put about, and return in disappointment towards the north."
This script will download models from ModelScope or Huggingface into exp/speech_synthesizer-laura-en-libritts-16k-codec_nq2-pytorch
and exp/audio_codec-encodec-zh_en-general-16k-nq32ds640-pytorch
. Are these directories existed ?
Have you followed the README step by step ? You should first set:
model_name="speech_synthesizer-laura-en-libritts-16k-codec_nq2-pytorch"
and then run the command:bash demo.sh --stage 1 --model_name ${model_name} --output_dir results --text "nothing was to be done but to put about, and return in disappointment towards the north."
This script will download models from ModelScope or Huggingface into
exp/speech_synthesizer-laura-en-libritts-16k-codec_nq2-pytorch
andexp/audio_codec-encodec-zh_en-general-16k-nq32ds640-pytorch
. Are these directories existed ?
Yeah, I did follow the README.md step by step. I've set themodel_name
, and like you mentioned, I've got those two files. Also, there's a model.pth file in the folder.I took a screenshot of the contents in the folder. I believe it matches what you described.
Have you followed the README step by step ? You should first set:
model_name="speech_synthesizer-laura-en-libritts-16k-codec_nq2-pytorch"
and then run the command:bash demo.sh --stage 1 --model_name ${model_name} --output_dir results --text "nothing was to be done but to put about, and return in disappointment towards the north."
This script will download models from ModelScope or Huggingface into
exp/speech_synthesizer-laura-en-libritts-16k-codec_nq2-pytorch
andexp/audio_codec-encodec-zh_en-general-16k-nq32ds640-pytorch
. Are these directories existed ?
Then, I ran the following command: bash demo.sh --stage 2 --model_name ${model_name} --output_dir results --text "nothing was to be done but to put about, and return in disappointment towards the north." --prompt_text "one of these is context" --prompt_audio "demo/8230_279154_000013_000003.wav"
. It threw the error I initially described. Although the command line indicated that the results were saved in the 'results' folder, I couldn't find this folder in the project. So, I'm guessing something might have gone wrong somewhere.
Sorry for the late response. From your Traceback, I find the error occurred when loading the model. I guess it is probable that your model is not downloaded properly. Have you installed the git lfs
? We use git lfs
to manage the model checkpoint files. You can check your model size, it should be the same as the ModelScope model page.
Sorry for the late response. From your Traceback, I find the error occurred when loading the model. I guess it is probable that your model is not downloaded properly. Have you installed the
git lfs
? We usegit lfs
to manage the model checkpoint files. You can check your model size, it should be the same as the ModelScope model page.
Model speech_synthesizer-laura-en-libritts-16k-codec_nq2-pytorch
should have the size of 387.44MB.
Model audio_codec-encodec-zh_en-general-16k-nq32ds640-pytorch
should have the size of 265.94MB
Environment
Issue Description
I believe I have correctly installed the required PyTorch version as per the README instructions and have also executed
pip install --editable ./
to install the necessary requirements. However, while trying to run the "Use LauraTTS to synthesize speech" example, executing the following command:bash demo.sh --stage 1 --model_name ${model_name} --output_dir results --text "nothing was to be done but to put about, and return in disappointment towards the north."
I encountered the following error:Question:
Is there an issue with how I am using the program? I am eager to experience your project and would greatly appreciate your guidance or suggestions for resolving this issue.