Replies: 3 comments
-
Hey @rodnvs , good question! Can you try with identical config first? e.g. specify the same That would be my first guess, as you've enabled denoise in your code but not on the CLI. You can see the default CLI params here: https://github.com/karaokenerds/python-audio-separator/blob/main/audio_separator/utils/cli.py#L59 also if you enable debug logging, the log output deliberately includes messages printing all the params, to help get to the bottom of things like this; see e.g.
Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hello @beveradb, thank you for your help! Audio Separator Kim 2 Vocals only Python CUDA - 01m06sAudio Separator Kim 2 Vocals only CLI CUDA - 01m18sI had problems getting it to run using the gpu but I managed to solve it using this help (I'm using python venv): You rock!!! |
Beta Was this translation helpful? Give feedback.
-
Nice one! Yeah getting everything aligned for CUDA is a pain. |
Beta Was this translation helpful? Give feedback.
-
Hi @beveradb! I did a performance test for a 10min video, comparing the command line and the python script, and found a substantial difference in execution time.
I only used the cpu for the test, because I don't have a gpu installed, and I ran the commands inside the vscode.
CLI - 26m46s
Python - 59m35s
Could you tell me what could be causing this?
Command Line
audio-separator video.mp4 --model_filename Kim_Vocal_2.onnx --output_format wav --single_stem Vocals
Python
Beta Was this translation helpful? Give feedback.
All reactions