sociallyineptweeb / anivoicechanger Goto Github PK
View Code? Open in Web Editor NEWAn RVC "extension" for Voice-Chat
License: MIT License
An RVC "extension" for Voice-Chat
License: MIT License
when pasting locally runtime\python.exe AniVoiceChanger\main_local.py in cmd with Rvc-beta folder as path, the voice changer doesn't run.
I have already trained my model locally and installed all requirements.
Different types of input and weights.
Model, was trained on RVC version 1 not v2.
Recording has started.
Converting voice...
Traceback (most recent call last):
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\vc_infer_pipeline.py", line 284, in pipeline
index = faiss.read_index(file_index)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\faiss\swigfaiss.py", line 8261, in read_index
return _swigfaiss.read_index(*args)
RuntimeError: Error in __cdecl faiss::FileIOReader::FileIOReader(const char *) at D:\a\faiss-wheels\faiss-wheels\faiss\faiss\impl\io.cpp:68: Error: 'f' failed: could not open G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\logs\mi-test\added_IVF778_Flat_nprobe_1.index for reading: No such file or directory
Exception in thread Thread-2:
Traceback (most recent call last):
File "threading.py", line 980, in _bootstrap_inner
File "threading.py", line 917, in run
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\keyboard\_generic.py", line 58, in process
if self.pre_process_event(event):
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\keyboard\__init__.py", line 213, in pre_process_event
key_hook(event)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\keyboard\__init__.py", line 516, in <lambda>
return hook_key(key, lambda e: e.event_type == KEY_DOWN or callback(e), suppress=suppress)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\AniVoiceChanger\main_local.py", line 245, in on_release_key
rvc_infer()
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\AniVoiceChanger\main_local.py", line 190, in rvc_infer
audio_opt = vc.pipeline(hubert_model, net_g, 0, audio, INPUT_VOICE_PATH, times, PITCH_CHANGE, PITCH_EXTRACTION_ALGO, index_path, INDEX_RATE, if_f0, 3, tgt_sr, 0, VOLUME_ENVELOPE, version, 0.33, f0_file=None)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\vc_infer_pipeline.py", line 384, in pipeline
self.vc(
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\vc_infer_pipeline.py", line 185, in vc
logits = model.extract_features(**inputs)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\fairseq\models\hubert\hubert.py", line 535, in extract_features
res = self.forward(
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\fairseq\models\hubert\hubert.py", line 437, in forward
features = self.forward_features(source)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\fairseq\models\hubert\hubert.py", line 392, in forward_features
features = self.feature_extractor(source)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\fairseq\models\wav2vec\wav2vec2.py", line 895, in forward
x = conv(x)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\torch\nn\modules\container.py", line 217, in forward
input = module(input)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\torch\nn\modules\conv.py", line 313, in forward
return self._conv_forward(input, self.weight, self.bias)
File "G:\CCR\Рабочий стол\voice_AI\RVC-beta-v2-0618\runtime\lib\site-packages\torch\nn\modules\conv.py", line 309, in _conv_forward
return F.conv1d(input, weight, bias, self.stride,
RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.cuda.HalfTensor) should be the same
Put tag related so the repo can be found easily when search it on github.
Error come from using the latest RVC0813Nvidia from using runtime\python.exe AniVoiceChanger\main_local.py
Running from Colab has no issue thou
Help! I'm getting the following, even though I've installed the VB Cable as instructed
sudo python3 main_colab.py
Virtual audio cable was not found. Please download and install it.
I was trying to run this on cpu and i'm getting this error.
is_half is set to false but still not working
Any idea why this is happening?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.