-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
No module named 'glow' #337
Comments
I found glow.py in https://github.com/NVIDIA/waveglow. Next hurdle to overcome is root@b5fb39a822ce:/workspace/tacotron2# python export_waveglow_trt.py --waveglow waveglow_256channels.pt --wn-channels 256 --amp-run |
Hi @jglozma how did you train your checkpoint? Does it come from the https://github.com/NVIDIA/waveglow repository? |
Hi, I have not done any training myself yet. I downloaded two checkpoints from NGC
Both checkpoints produce the same error above |
please download the checkpoint from https://ngc.nvidia.com/models/nvidia:waveglow256pyt_fp16 |
It worked. Thanks for your help! |
@grzegorzkarchnv : I am unable to access the model from the link. Has anything changed recently? |
it is there. By default, it opens at "Overview". Click on "File Browser" and you will see it |
Thanks |
@grzegorzkarchnv sir, i have tried it, but unable to download. facing issues. can you please look into this issue. |
I am trying to run example with TRTIS described on https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/SpeechSynthesis/Tacotron2/notebooks/trtis
When running step that was supposed to produce ONNX model I have got following error
python export_waveglow_trt.py --waveglow waveglow_256channels_ljs_v3.pt --wn-channels 256 --amp-run
_:::NVLOGv0.2.2 None 1575584732.593067884 (/workspace/tacotron2/dllogger/logger.py:251) args: {"waveglow": "waveglow_256channels_ljs_v3.pt", "output": "waveglow.onnx", "amp_run": true, "sigma_infer": 0.6}
Traceback (most recent call last):
File "export_waveglow_trt.py", line 158, in
main()
File "export_waveglow_trt.py", line 155, in main
export_onnx(parser, args)
File "export_waveglow_trt.py", line 117, in export_onnx
waveglow = load_and_setup_model('WaveGlow', parser, args.waveglow, args.amp_run)
File "/workspace/tacotron2/inference.py", line 122, in load_and_setup_model
state_dict = torch.load(checkpoint)['state_dict']
File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 422, in load
return _load(f, map_location, pickle_module, **pickle_load_args)
File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 609, in load
result = unpickler.load()
ModuleNotFoundError: No module named 'glow'
The text was updated successfully, but these errors were encountered: