OpenVoice
OpenVoice copied to clipboard
missing/unexpected keys?
/Users/ahmetkca/Projects/OpenVoice/.venv/lib/python3.9/site-packages/torch/nn/utils/weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.")
Loaded checkpoint 'checkpoints/converter/checkpoint.pth'
missing/unexpected keys: [] []
@ahmetkca Have you solved it yet?
same problem here with v2
same probelm, does amyone got the solution ? if yes please let me know
I'm experiencing the same in Google Colab using T4, OpenVoice V2
Same here
This isn't a error. It's just a print debug sanity check.
def load_ckpt(self, ckpt_path):
checkpoint_dict = torch.load(ckpt_path, map_location=torch.device(self.device))
a, b = self.model.load_state_dict(checkpoint_dict['model'], strict=False)
print("Loaded checkpoint '{}'".format(ckpt_path))
print('missing/unexpected keys:', a, b)
https://github.com/myshell-ai/OpenVoice/blob/main/openvoice/api.py#L39