Giter Club home page Giter Club logo

tacotron2-gst's People

Contributors

jinhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

tacotron2-gst's Issues

FP-16 training failure

Hello @jinhan ,

Thanks for sharing such great repo. _ was trynign to train in fp16. But it gives me following error. Please can you help me fix it.. Thanks.. I ahve enablep16 training.

Command: python -m multiproc train.py --output_directory=outdir --log_directory=logdir

Traceback (most recent call last):

  File "train.py", line 285, in <module>

    args.warm_start, args.n_gpus, args.rank, args.group_name, hparams)

  File "train.py", line 222, in train

    optimizer.backward(loss)
    
  File "/projects/playground/tacotron2-gst/fp16_optimizer.py", line 362, in backward

    self.loss_scaler.backward(loss.float())
    
  File "/projects/playground/tacotron2-gst/loss_scaler.py", line 80, in backward

    scaled_loss.backward()
    
  File "/pyenvs/taco/lib/python3.6/site-packages/torch/tensor.py", line 118, in backward

    torch.autograd.backward(self, gradient, retain_graph, create_graph)
    
  File "/pyenvs/taco/lib/python3.6/site-packages/torch/autograd/__init__.py", line 93, in backward

    allow_unreachable=True)  # allow_unreachable flag

  File "/projects/playground/tacotron2-gst/distributed.py", line 157, in allreduce_params

    coalesced = _flatten_dense_tensors(grads)
    
  File "/projects/playground/tacotron2-gst/distributed.py", line 19, in _flatten_dense_tensors
    
    flat = torch.cat([t.contiguous().view(-1) for t in tensors], dim=0)

RuntimeError: Expected object of scalar type Half but got scalar type Float for sequence element 3 in sequence argument at position #1 'tensors'

    ```

Did you figured out how to train style tokens?

Hi,

Im trying to use GST in my tacotron2 project, but problem that no matter how i try, gst tokens not working s intended.
They doesn't add any style to the audio. Maybe there are some tricks not mentioned in the paper?
Can u share your experience and pitfalls during the training?

Many thanks)

grad_norm

Hi, recently I tried run codes on chinese data set , I just edit text_to_sequence, but grad_norm is always 'nan', please help me~~!
thanks!

Getting error while running for english language with english_cleaner

Getting following error :

/pytorch/aten/src/THC/THCTensorIndex.cu:362: void indexSelectLargeIndex(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, IndexType, long) [with T = float, IndexType = unsigned int, DstDim = 2, SrcDim = 2, IdxDim = -2, IndexIsMajor = true]: block: [119,0,0], thread: [95,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
Traceback (most recent call last):
  File "train.py", line 285, in <module>
    args.warm_start, args.n_gpus, args.rank, args.group_name, hparams)
  File "train.py", line 213, in train
    y_pred = model(x)
  File "/home/rishikesh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/rishikesh/Dev/tacotron2-gst/model.py", line 516, in forward
    transcript_outputs = self.encoder(embedded_inputs, input_lengths)
  File "/home/rishikesh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/rishikesh/Dev/tacotron2-gst/model.py", line 177, in forward
    x = F.dropout(F.relu(conv(x)), drop_rate, self.training)
  File "/home/rishikesh/.local/lib/python3.6/site-packages/torch/nn/functional.py", line 749, in dropout
    else _VF.dropout(input, p, training))
RuntimeError: Creating MTGP constants failed. at /pytorch/aten/src/THC/THCTensorRandom.cu:35

Environement:

python : 3.6
OS: Ubuntu 18.04
Pytorch : 1.0
tensorflow : 1.6

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.