Giter Club home page Giter Club logo

Comments (9)

Ahmad-noborders avatar Ahmad-noborders commented on August 17, 2024

if i run it on Gpu it gives same traceback with this error.
in torch 1.2.0 :
RuntimeError: invalid argument 6: wrong matrix size at /pytorch/aten/src/THC/generic/THCTensorMathBlas.cu:499

in torch 1.5.0 last line of same error is
RuntimeError: invalid argument 6: wrong matrix size at /pytorch/aten/src/THC/generic/THCTensorMathBlas.cu:549

from fastspeech.

MorganCZY avatar MorganCZY commented on August 17, 2024

Hi, an error occured to me when running preprocess.py with the latest code version. It seems the processing is jammed as shown in the following picture. Have you had this error? if yes, could you introduce your solutions?
image

from fastspeech.

xcmyz avatar xcmyz commented on August 17, 2024

Hi, an error occured to me when running preprocess.py with the latest code version. It seems the processing is jammed as shown in the following picture. Have you had this error? if yes, could you introduce your solutions?
image

futures.append(_process_utterance(out_dir, index, wav_path, text)) index = index + 1 return futures

from fastspeech.

MorganCZY avatar MorganCZY commented on August 17, 2024

But what's the reason for this "deadlock" in the current code(with executor.submit....)?

from fastspeech.

MorganCZY avatar MorganCZY commented on August 17, 2024

It seems because there are torch tensor operations in multi processing. I located that the code came to a deadlock when running the line as shown in the following picture. If I replace torch.FloatTensor with array, it passes. Could someone explain it?
image

from fastspeech.

xcmyz avatar xcmyz commented on August 17, 2024

It seems because there are torch tensor operations in multi processing. I located that the code came to a deadlock when running the line as shown in the following picture. If I replace torch.FloatTensor with array, it passes. Could someone explain it?
image

Because of the version of pytorch?

from fastspeech.

YinPing-Cho avatar YinPing-Cho commented on August 17, 2024

hi @xcmyz, it seems this issue opened by @Ahmad-noborders is also reproduced here in my case. By printing the Tensors out, I find unresolved mismatches between the sizes of "duration" Tensors from the dataset and the "out" Tensors produced by DurationPredictor().
fastspeech

from fastspeech.

singhaki avatar singhaki commented on August 17, 2024

@Ahmad-noborders were you able to resolve the issue?

from fastspeech.

Ahmad-noborders avatar Ahmad-noborders commented on August 17, 2024

@singhaki nope i had to move to tacotron2 which is base of this repo

from fastspeech.

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.