Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tts_infer.py return segmentation fault #242

Closed
ly1984 opened this issue Dec 26, 2019 · 2 comments
Closed

tts_infer.py return segmentation fault #242

ly1984 opened this issue Dec 26, 2019 · 2 comments
Assignees

Comments

@ly1984
Copy link

ly1984 commented Dec 26, 2019

Ubuntu 18.04
Python3.6.8,
Pytorch 1.3
GPU:1080ti

I've downloaded the tacotron2 and waveglow model form ngc
tacotron2 model:https://ngc.nvidia.com/catalog/models/nvidia:tacotron2_ljspeech
waveglow model:https://ngc.nvidia.com/catalog/models/nvidia:waveglow_ljspeech

NeMo/examples/tts/tts_infer.py

And run the below command,and got segmentation fault。
python3 tts_infer.py --spec_model=tacotron2 --spec_model_config=configs/tacotron2.yaml --spec_model_load_dir=tacotron2_checkopints/ --vocoder=waveglow --vocoder_model_config=configs/waveglow.yaml --vocoder_model_load_dir=waveglow_checkopints/ --save_dir=wav_files/ --eval_dataset=test.json

@ly1984 ly1984 changed the title tts_infer.py segmentation fault tts_infer.py return segmentation fault Dec 27, 2019
@blisc
Copy link
Collaborator

blisc commented Dec 31, 2019

Can you please try again inside the NeMo container: https://ngc.nvidia.com/catalog/containers/nvidia:nemo

Can you also please run in it in float32 mode using the argument --amp_opt_level=O0?

@ly1984
Copy link
Author

ly1984 commented Jan 4, 2020

I've tested on Google Colab.and everything goes well. It should be my problem ,I will check my own environment later.

@ly1984 ly1984 closed this as completed Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants