Giter VIP home page Giter VIP logo

Comments (5)

syoyo avatar syoyo commented on August 15, 2024 1

Thank! Confirmed now its fixed.

from tacotron2.

rafaelvalle avatar rafaelvalle commented on August 15, 2024

Can you pull from master and confirm that the unspecified tensorflow requirements in the requirments.txt file work for you?

from tacotron2.

syoyo avatar syoyo commented on August 15, 2024

I got another problem when updating repo to 2c545ac

$ python train.py --output_directory=outdir --log_directory=logdir
FP16 Run: False
Dynamic Loss Scaling True
Distributed Run: False
cuDNN Enabled: True
cuDNN Benchmark: False
/home/syoyo/work/tacotron2/layers.py:35: UserWarning: nn.init.xavier_uniform is now deprecated in favor of nn.init.xavier_uniform_.
  self.conv.weight, gain=torch.nn.init.calculate_gain(w_init_gain))
/home/syoyo/work/tacotron2/layers.py:15: UserWarning: nn.init.xavier_uniform is now deprecated in favor of nn.init.xavier_uniform_.
  gain=torch.nn.init.calculate_gain(w_init_gain))
Epoch: 0
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 210, in train
    y_pred = model(x)
  File "/home/syoyo/miniconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/syoyo/work/tacotron2/model.py", line 522, in forward
    "constant", 0)
  File "/home/syoyo/miniconda3/lib/python3.6/site-packages/torch/nn/functional.py", line 1929, in pad
    return ConstantPadNd.apply(input, pad, value)
  File "/home/syoyo/miniconda3/lib/python3.6/site-packages/torch/nn/_functions/padding.py", line 27, in forward
    output = input.new(input.size()[:(ctx.l_diff)] + new_dim).fill_(ctx.value)
TypeError: torch.Size() takes an iterable of 'int' (item 3 is 'Tensor')

I'm using pytorch 0.4 and an error happens both tensorflow 1.6.0 and 1.8.0(no versioning in requirements.txt)

from tacotron2.

raulpuric avatar raulpuric commented on August 15, 2024

same error as other issue.
See https://github.com/NVIDIA/tacotron2/tree/padding-patch-0.4 should work now.
will merge in an hour or so when others are convince as well :)

from tacotron2.

rafaelvalle avatar rafaelvalle commented on August 15, 2024

@syoyo please pull from master and confirm that it works for you.

from tacotron2.

Related Issues (20)

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.