Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor bug in loading vocoders #221

Open
Mahyar24 opened this issue Dec 27, 2023 · 0 comments
Open

Minor bug in loading vocoders #221

Mahyar24 opened this issue Dec 27, 2023 · 0 comments

Comments

@Mahyar24
Copy link

These three lines don't load the models into the desired device and should be replaced:

ckpt = torch.load(ckpt_path)

ckpt = torch.load("hifigan/generator_LJSpeech.pth.tar")

ckpt = torch.load("hifigan/generator_universal.pth.tar")

with something like this: torch.load(ckpt_path, map_location=device).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant