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

fairseq is missing in Master branch #1392

Open
little-file opened this issue Oct 28, 2024 · 1 comment
Open

fairseq is missing in Master branch #1392

little-file opened this issue Oct 28, 2024 · 1 comment

Comments

@little-file
Copy link

In a few words, describe your idea

There is no requirement fairseq in the server

More information

[Voice Changer] post_update_settings ex: No module named 'fairseq'
Traceback (most recent call last):
File "/home/little/Projects/voice-changer/server/restapi/MMVC_Rest_Fileuploader.py", line 71, in post_update_settings
info = self.voiceChangerManager.update_settings(key, val)
File "/home/little/Projects/voice-changer/server/voice_changer/VoiceChangerManager.py", line 348, in update_settings
self.generateVoiceChanger(newVal)
File "/home/little/Projects/voice-changer/server/voice_changer/VoiceChangerManager.py", line 256, in generateVoiceChanger
from voice_changer.RVC.RVCr2 import RVCr2
File "/home/little/Projects/voice-changer/server/voice_changer/RVC/RVCr2.py", line 12, in
from voice_changer.RVC.embedder.EmbedderManager import EmbedderManager
File "/home/little/Projects/voice-changer/server/voice_changer/RVC/embedder/EmbedderManager.py", line 5, in
from voice_changer.RVC.embedder.FairseqContentvec import FairseqContentvec
File "/home/little/Projects/voice-changer/server/voice_changer/RVC/embedder/FairseqContentvec.py", line 3, in
from voice_changer.RVC.embedder.FairseqHubert import FairseqHubert
File "/home/little/Projects/voice-changer/server/voice_changer/RVC/embedder/FairseqHubert.py", line 4, in
from fairseq import checkpoint_utils
ModuleNotFoundError: No module named 'fairseq'

@TooManyHobbies
Copy link

Hi, I don't know much about this project, and really haven't gotten it to work, but on my Linux machine I did the following:

conda install conda-forge::fairseq
conda install conda-forge::pyworld

Then as per this issue #1233 I removed line 11 from the file

server/voice_changer/RVC/pitchExtractor/PitchExtractorManager.py

That got things running, but still not working. Maybe you will have better luck.

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