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

[BUG]Not compatible with python 3.11 #204

Closed
zc402 opened this issue Jan 20, 2024 · 3 comments
Closed

[BUG]Not compatible with python 3.11 #204

zc402 opened this issue Jan 20, 2024 · 3 comments

Comments

@zc402
Copy link

zc402 commented Jan 20, 2024

Describe the bug
The run-install.sh says "Please install Python3 or 3.11 manually." However, using python 3.11 under linux results in an exception of fairseq:

FaValueError: mutable default <class 'fairseq.dataclass.configs.CommonConfig'> for field common is not allowed: use default_factory. 

This issue is discussed here: facebookresearch/fairseq#5012

I installed a custom version of fairseq to avoid this issue:
pip install git+https://github.com/One-sixth/fairseq.git

Also, the range input component on the web page for "pitch" can be put on float numbers, which results in the following exception:

Voice conversion failed: invalid literal for int() with base 10: '8.7'

To Reproduce
conda create --name applio python=3.11
conda activate applio
./run-install.sh

@sonphantrung
Copy link
Contributor

Well, the same can be said with most major AI tools: <=3.10 is supported.

@blaise-tk
Copy link
Member

blaise-tk commented Jan 20, 2024

Added info to readme about this issue + pitch slider fixed. You are free to do PR to improve linux, I don't have linux.

@zc402
Copy link
Author

zc402 commented Jan 20, 2024

Well, the same can be said with most major AI tools: <=3.10 is supported.

You are right. Most of the time I use python=3.8, but since the installing script explicitly says 3.11. Anyway, I'm really appreciate for this tool that integrates the TTS and RVC pipeline together. The quality of voice generated is so much better than TTS only!

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

3 participants