Closed averwhy closed 2 years ago
Quickly modified inference.py to support a specification of an output argument. If an argument is specified, it checks if the output folder exists and creates one if not. e.g:
inference.py
inference.py --input song.mp3 --output_dir results
would create a folder named results (if it was not already existing) and put the resulting separated audio files into there.
results
Tested & working:
Thanks for your contribution! Please check the comments.
Sorry, which comments?
This is it.
Oh strange, i cant see that on my screen. I will make those changes though.
These changes are working.
LGTM!
Quickly modified
inference.py
to support a specification of an output argument. If an argument is specified, it checks if the output folder exists and creates one if not. e.g:would create a folder named
results
(if it was not already existing) and put the resulting separated audio files into there.Tested & working: