Code Monkey home page Code Monkey logo

Comments (4)

cschaefer26 avatar cschaefer26 commented on June 23, 2024

Hi, true I just found that the current HifiGAN repo requests numpy files. Just updated the code. Try with :

python gen_forward.py --input_text 'this is whatever you want it to be' hifigan

from forwardtacotron.

godspirit00 avatar godspirit00 commented on June 23, 2024

Thank you for your reply!
So I downloaded the code and tried again, now it says:

Loading tts checkpoint model/forward_step80k.pt
Traceback (most recent call last):
  File "gen_forward.py", line 71, in <module>
    tts_model, config = load_forward_taco(checkpoint_path)
  File "gen_forward.py", line 21, in load_forward_taco
    tts_model = ForwardTacotron.from_config(config)
  File "D:\TTS\ForwardTacotron-master\models\forward_tacotron.py", line 276, in from_config
    return ForwardTacotron(**model_config)
TypeError: __init__() got an unexpected keyword argument 'pitch_emb_dims'

Using Wavernn vocoder would show the same error.

from forwardtacotron.

cschaefer26 avatar cschaefer26 commented on June 23, 2024

Hi, it seems that you trained your model with an old version of the repo - I made some major changes that couldn't be backward compatible. You have two options: 1) retrain the model with the updated code (probably better quality), or 2) use the old code (you would need to revert it to the point before updating) and just replace the generate_forward.py with the newest version.

from forwardtacotron.

godspirit00 avatar godspirit00 commented on June 23, 2024

Solved!
Thanks a lot!

from forwardtacotron.

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.