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: 'SpeakerManager' object has no attribute 'compute_d_vector_from_clip' #43

Open
farazBhatti opened this issue Jun 5, 2023 · 1 comment

Comments

@farazBhatti
Copy link

I ran colab included, and is getting the above mentioned error(in the title) at the following line:
reference_emb = SE_speaker_manager.compute_d_vector_from_clip(reference_files)

There seems to be no implementation of 'compute_d_vector_from_clip' function in class "SpeakerManager"

@henry16lin
Copy link

@farazBhatti If you use the Coqui TTS repo, I found that the corresponding function is in tts/utils/manage.py compute_embedding_from_clip()
So, replace reference_emb = SE_speaker_manager.compute_d_vector_from_clip(reference_files) with reference_emb = SE_speaker_manager.compute_embedding_from_clip(reference_files)
that works for my case.

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

2 participants