uvr icon indicating copy to clipboard operation
uvr copied to clipboard

my collab notebook crashes when running code

Open zakariaelh opened this issue 1 year ago • 4 comments

When running a separate.py on an mp3 of 20 min, my collab notebook crashes due to RAM usage (12GB). Are there some parameters I can tweak to reduce the ram usage?

zakariaelh avatar Feb 06 '24 07:02 zakariaelh

@zakariaelh you can chunk audio into multiple smaller audio and merge it back once it's done.

seanghay avatar Feb 06 '24 08:02 seanghay

Yeah, that's what I ended up doing. Thank you! I haven't used the GUI version as i was looking a function to incorporate in my flow, so what you built is perfect. Btw, are there some parameters that one can tweak to improve the quality of the audio? Some of the vocals still include clapping in the background

zakariaelh avatar Feb 06 '24 16:02 zakariaelh

Yeah, that's what I ended up doing. Thank you! I haven't used the GUI version as i was looking a function to incorporate in my flow, so what you built is perfect. Btw, are there some parameters that one can tweak to improve the quality of the audio? Some of the vocals still include clapping in the background

Maybe you should try using different models. Try 3_HP-Vocal-UVR.pth

seanghay avatar Feb 07 '24 11:02 seanghay

Excellent, thanks a lot!

zakariaelh avatar Feb 07 '24 18:02 zakariaelh