Closed duheyu closed 1 year ago
I never meet this problem. Is there anyone who could help him?
I confirm that I have the exactly same issue. I have not resolved it yet.
I deleted my 'checkpoints/0109_hifigan_bigpopcs_hop128' folder, then your bug-logs came. So, why not download the checkpoint file for the vocoder first, before conducting the experiments.
Ah, placing the original checkpoint file in checkpoints/0109_hifigan_bigpopcs_hop128 does resolve this issue.
But this requires the use of the original phone_set to be used. The point of training the model is to train it on a completely new data set, with its own phone_set. Can you please indicate how to train a model from scratch?
https://github.com/MoonInTheRiver/DiffSinger/blob/3d050f76aefb766d004fddcf52e9307affefd3c4/vocoders/hifigan.py#L41
There is no super call from the __init__
method of HifiGAN, which I think is a reason of this error. The PWG
class has a device
attribute. I have come through this also.
I'm following the instructions to train a model for DiffSinger, but there seem to be some issues with vocoders/hifigan.py:
"# first run fs2 infer;"
So I've added
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
to the__init__
of HifiGAN, but then I get this: