deezer / deezer/spleeter

[Bug]spleeter separate -p spleeter:2stems -o output audio_example.mp3,如果没下下来模型文件,没有任何提示

Open
#757 3 comments 0 reactions 0 assignees View on GitHub
bug invalid
Dominant language
Python
Stars
28.4k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

[Bug]spleeter separate -p spleeter:2stems -o output audio_example.mp3,无法分离出背景音乐,如果模型没有下载下来,只是在pretrained_models目录下新建了一个2stems文件夹,里面因为网络问题导致模型没下下来,但运行spleeter separate -p spleeter:2stems -o output audio_example.mp3依然不报错,分离出来的两个accompaniment.wav和vocals.wav和原来的audio_example.mp3一模一样,并没有实现分离歌声和音乐。所以最好加个判断提示一下,如果不存在模型文件,就报错。

Contributor guide

Open the contributing guide

Research direction

Start at the `spleeter separate` command and trace how the `pretrained_models/2stems` directory is checked or loaded. Reproduce the case with the model files missing, then confirm that the command reports the missing model instead of producing unchanged `accompaniment.wav` and `vocals.wav` files.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.