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

AttributeError: 'HParams' object has no attribute 'spk' when using someone elses model #872

Open
2 tasks done
hassanshaikley opened this issue Aug 2, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hassanshaikley
Copy link

Describe the bug

I'm using this model https://drive.google.com/file/d/1fuGiMDvN2EXsJSUQWYFtGqDjGVZ-P6Gl/view

And I got this error with other models as well.

To Reproduce

After installing the deps. Literally all I run is the following:

PYTORCH_ENABLE_MPS_FALLBACK=1 svc infer ../../raw_audio_to_vo/1_Céline\ Dion\ -\ My\ Heart\ Will\ Go\ On\ \(Official\ 25th\ Anniversary\ Alternate\ Music\ Video\)\ \[9bFHsd3o1w0\]_\(Vocals\).wav -m weights/SpongeBobSquarePants.pth -c logs/SpongebobSquarepants/config.json

Additional context

python 3.8.16
so-vits-svc-fork 4.1.1
torch 2.0.1
torchaudio 2.0.2

Version

4.1.1

Platform

macOS 13.4

Code of Conduct

  • I agree to follow this project's Code of Conduct.

No Duplicate

  • I have checked existing issues to avoid duplicates.
@hassanshaikley hassanshaikley added the bug Something isn't working label Aug 2, 2023
@Ivanca
Copy link

Ivanca commented Oct 15, 2023

It may be an invalid config file, there is a pre-made one at "\vits-svc-fork\venv\Lib\site-packages\so_vits_svc_fork\preprocessing\config_templates\quickvc.json"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants