Coder Social home page Coder Social logo

fastspeech_squeezewave's People

Contributors

alokprasad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fastspeech_squeezewave's Issues

RuntimeError: Expected object of backend CPU but got backend CUDA for argument

Hi,
Which version of PyTorch , CUDA and cuDNN do you use? I always run into this error.
My setup:
Windows 10 Pro
python 3.6.5
torch 1.1.0
Cuda 10.0
cuDNN 7.6

I tried explicitly setting the device to 'cpu' in synthesis.py and fastspeech.py to try running just on cpu.
Also tried model.to(device) and also model arguments .to(device). Same issue happens in both FastSpeech and SqueezeWave for me.
image
Same result on ubuntu 18.04 with python 3.6.9, torch 1.5, cuda 10.2 and cudnn 8!

JIT trace

Hello. Did the following lines of code in synthesis.py work for you?

# script for generating torch script
traced_script_module = torch.jit.trace(model, (sequence, src_pos))
traced_script_module.save("traced_fastspeech_model.pt")

I get the following error:

RuntimeError: 0 INTERNAL ASSERT FAILED at ..\torch\csrc\jit\ir\alias_analysis.cpp:318, please report a bug to PyTorch. We don't have an op for aten::to but it isn't a special case. Argument types: Tensor, None, int, Device, bool, bool, bool, int,

Running in CPU

Thanks for your great work.
I trained my squeezewave model use original code,and trained on a single GPU and the training dataset is a public Chinese dataset, so I have got a pre_trained model. Now I want to run in CPU. So i use your code with my above pre_trained model. But I only can generate the wav use your test.pt in mel_spectrograms. When I generate the wav use my own data, I got a error. What is the difference between the mel_spectrograms/test.pt and my own mel spectrograms by mel2samp.py.
屏幕快照 2020-03-31 下午5 07 11

bias from the model

'SqueezeWave' object has no attribute 'upsample'

hello. when i run the denoiser.py . i met this erro. But when i run the denoiser.py in the waveglow. i can run that.How can i solve this
problem.thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.