Open betterftr opened 1 year ago
modified line 64 in network/vocoders/hifigan.py fromdevice = self.device
to device = torch.device("cuda")
now it says:
AttributeError: 'HifiGAN' object has no attribute 'model'
Using this hifigan pretrained model from : https://github.com/MoonInTheRiver/DiffSinger/releases/download/pretrain-model/model_ckpt_steps_1512000.ckpt
Can this cause issues?
check if you have excuted ‘set PYTHONPATH=.’ in the root directory of this project
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.
I am getting this error as well...
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!
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"
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.yaml
to it. it's not a already-exist folder.
on windows, anaconda