Giter Club home page Giter Club logo

Comments (8)

betterftr avatar betterftr commented on August 12, 2024

modified line 64 in network/vocoders/hifigan.py from device = self.device to device = torch.device("cuda") now it says:
AttributeError: 'HifiGAN' object has no attribute 'model'

from diff-svc.

betterftr avatar betterftr commented on August 12, 2024

Using this hifigan pretrained model from : https://github.com/MoonInTheRiver/DiffSinger/releases/download/pretrain-model/model_ckpt_steps_1512000.ckpt
Can this cause issues?

from diff-svc.

prophesier avatar prophesier commented on August 12, 2024

check if you have excuted ‘set PYTHONPATH=.’ in the root directory of this project

from diff-svc.

InDragonR avatar InDragonR commented on August 12, 2024

Check the folder name in your yaml file, "vocoder_ckpt:" should match the folder name. Also, mine has an additional ptn model. Not sure if that is the problem.

from diff-svc.

dillfrescott avatar dillfrescott commented on August 12, 2024

I am getting this error as well...

from diff-svc.

dillfrescott avatar dillfrescott commented on August 12, 2024

Fixed it. In the vocoder_ckpt: folder, there needs to be the config.yaml file and the checkpoint from the 0109_hifigan_bigpopcs_hop128.zip file under DiffSinger releases...

Both files are in that zip file!

from diff-svc.

misdom avatar misdom commented on August 12, 2024

Where is the vocoder_ckpt folder? network/vocoders? i dont see that anywhere and i have the config.yaml and checkpoint files for nsf_hifigan. I keep getting: AttributeError: "nsfhifigan" object has no attribute "h"

from diff-svc.

ayanesakura avatar ayanesakura commented on August 12, 2024

Where is the vocoder_ckpt folder? network/vocoders? i dont see that anywhere and i have the config.yaml and checkpoint files for nsf_hifigan. I keep getting: AttributeError: "nsfhifigan" object has no attribute "h"

so you need to create the folder and set vocode_ckpt arg in config.yamlto it. it's not a already-exist folder.

from diff-svc.

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.