NVIDIA/waveglow

RuntimeError: A tensor was not contiguous.

sciai-ai opened this issue ยท 2 comments

Hi

I ran the train script and got the following

python train.py -c config.json

image

This issue might have been caused by nvidia's apex. You can either disable the fp16 run from config or alternatively you can replace apex with torch native mixed-precision training.

bfs18 commented

change L79 in glow.py to

        W = W.contiguous().view(c, c, 1)