torch
, torchaudio
. Please check out the PyTorch documentation.
pip install -r requirements.txt
./download.sh
python separate.py
Modify these lines to fit your needs
if __name__ == '__main__':
device = 'cuda'
is_half=True
model_path='uvr5_weights/2_HP-UVR.pth'
pre_fun = _audio_pre_(model_path=model_path,device=device,is_half=True)
audio_path = 'audio.aac'
save_path = 'opt'
pre_fun._path_audio_(audio_path , save_path,save_path)