#vc pipeline conversion not being initialized

46 messages · Page 1 of 1 (latest)

slim glacier
#

I'm trying to run RVC model using Applio, I already trained the .pth and index and it runs normally on Applio end

I'm trying to automate this using python but I keep having the issue of vc pipeline conversion not being initialized

the code I'm trying to work is this one

velvet cipher
#

use the tts code I've provided

#

infer_pipeline = VoiceConverter()
infer_pipeline.convert_audio(audio_input_path=input_path,audio_output_path=output_path,model_path=pth_path,index_path=index_path,split_audio=True)

slim glacier
#

I'll test it, thanks

north runeBOT
#

@slim glacier has reached level 1. GG!

slim glacier
#

An error occurred during audio conversion: 'NoneType' object has no attribute 'pipeline'
Traceback (most recent call last):
File "C:\Users/joaob/Desktop/Applio-3.2.8-bugfix/Applio-3.2.8-bugfix\rvc\infer\infer.py", line 296, in convert_audio
audio_opt = self.vc.pipeline(
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'pipeline'

velvet cipher
#

means you did not pass the model

#

pth_path

#

r"G:\ApplioV\logs\model.pth"

slim glacier
#

ok

velvet cipher
#

not G:/applio

slim glacier
#

C:\Users\joaob\Desktop\Applio-3.2.8-bugfix\Applio-3.2.8-bugfix\logs\BENJAMIN-EN

#

like that right

#

.pth in the end

#

same thing man

#

it should be working, it has the path to the pth

velvet cipher
#

pth_path

#

err

slim glacier
#

hm

#

it's model_path

I'll try pth

velvet cipher
#

no

#

i mean the code I gave you works

slim glacier
#

ok

#

I'll try

#

ModuleNotFoundError: No module named 'rvc.lib.zluda'

#

it should have right? Applio run just fine

north runeBOT
#

@slim glacier has reached level 2. GG!

velvet cipher
#

you can delete that import

#

that was for AMD

slim glacier
#

the infer

#

isn't found as well

velvet cipher
#

it works from applio folder

#

you need to do the import path

slim glacier
#

ok

#

bro it keeps with TTS generation time: 1.34 seconds.
Converting audio 'C:\Users\joaob\Desktop\temp_out.wav'...
Audio split into 1 chunks for processing.
An error occurred during audio conversion: 'NoneType' object has no attribute 'pipeline'
Traceback (most recent call last):
File "C:\Users\joaob\Desktop\Applio-3.2.8-bugfix\Applio-3.2.8-bugfix\rvc\infer\infer.py", line 296, in convert_audio
audio_opt = self.vc.pipeline(
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'pipeline'

velvet cipher
#

make sure the .pth actually exists at that path

#

start with just a simple conversion of an existing .wav

slim glacier
#

ok

#

the path was wrong, fixed and Error: The internal pipeline (vc) was not initialized.

#

yo

#

I think it worked

#

yup, it is! Thank you so much Noobies, you're the goat

slim glacier
#

@velvet cipher I'm almost finishing the app but I'm having trouble with the quality of the korean RVC, there is something else needed to have the same quality as the other ones?