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

Index file argument broken #25

Open
shirounanashi opened this issue Mar 29, 2024 · 5 comments
Open

Index file argument broken #25

shirounanashi opened this issue Mar 29, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@shirounanashi
Copy link

shirounanashi commented Mar 29, 2024

When I set the index rate to 0.75 or 0.7 (I haven't tried with other values) this message appears.

Traceback (most recent call last):
  File "D:\Biblioteca\Documentos\RVC Project\Retrieval-based-Voice-Conversion-develop\rvc\modules\vc\pipeline.py", line 307, in pipeline
    index = faiss.read_index(file_index)
  File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python310\lib\site-packages\faiss\swigfaiss_avx2.py", line 10409, in read_index
    return _swigfaiss_avx2.read_index(*args)
TypeError: Wrong number or type of arguments for overloaded function 'read_index'.
  Possible C/C++ prototypes are:
    faiss::read_index(char const *,int)
    faiss::read_index(char const *)
    faiss::read_index(FILE *,int)
    faiss::read_index(FILE *)
    faiss::read_index(faiss::IOReader *,int)
    faiss::read_index(faiss::IOReader *)
@shirounanashi
Copy link
Author

Testing further, I discovered that it has nothing to do with the index rate, but with the keyword argument index file

@shirounanashi shirounanashi changed the title Index Rate broken (?) Index file argument broken Mar 29, 2024
@Tps-F Tps-F added the bug Something isn't working label Apr 3, 2024
@PeterTucker
Copy link

@shirounanashi how did you fix this? I'm getting the same error. Thanks!

@shirounanashi
Copy link
Author

@PeterTucker Sorry, but as far as I remember, I couldn't fix it

@PeterTucker
Copy link

@shirounanashi @Tps-F yeah, looks like it doesn't work for right now.

@Tps-F
Copy link
Member

Tps-F commented Jun 1, 2024

I'm sorry I couldn't fix it right now
I'll check it

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

3 participants