serp-ai / bark-with-voice-clone

🔊 Text-prompted Generative Audio Model - With the ability to clone voices
https://serp.ai/tools/bark-text-to-speech-ai-voice-clone-app
Other
2.98k stars 396 forks source link

clone_voice.ipynb gives "ModuleNotFoundError: No module named 'bark_hubert_quantizer'" #84

Open AJMarsh1 opened 8 months ago

AJMarsh1 commented 8 months ago

I've already tried everything here: https://github.com/serp-ai/bark-with-voice-clone/issues/35

In clone_voice.ipynb block 3, I get this error:


ModuleNotFoundError Traceback (most recent call last) c:\Users\Josiah\MiscProjects\bark-with-voice-cloning\bark-with-voice-clone\clone_voice.ipynb Cell 3 line 3 1 import sys 2 sys.path.append('./bark-voice-cloning-HuBERT-quantizer') ----> 3 from bark_hubert_quantizer.hubert_manager import HuBERTManager 4 hubert_manager = HuBERTManager() 5 hubert_manager.make_sure_hubert_installed()

ModuleNotFoundError: No module named 'bark_hubert_quantizer'

And I can't manually install it. I have added the suggested pip and git commands to the first block, and they did not help. (My first block now looks like this:

%pip install git+https://github.com/suno-ai/bark.git %git clone https://github.com/gitmylo/bark-voice-cloning-HuBERT-quantizer %pip install -r ./bark-voice-cloning-HuBERT-quantizer/requirements.txt

%git clone https://github.com/gitmylo/bark-voice-cloning-HuBERT-quantizer/
%cd bark-voice-cloning-HuBERT-quantizer %pip install -r requirements.txt %pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

%git clone https://github.com/serp-ai/bark-with-voice-clone %cd bark-with-voice-clone/ %pip install git+https://github.com/suno-ai/bark.git )

I see that hubert was renamed as bark_hubert_quantizer, but I can't pip install hubert either. Does anyone have a solution/suggestion?

dagshub[bot] commented 8 months ago

Join the discussion on DagsHub!

KonstantineGoudz commented 8 months ago

Try this pip install audiolm_pytorch