Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法提取人声(背景音可以正常提取) #23

Closed
xisang233 opened this issue Oct 21, 2021 · 2 comments
Closed

无法提取人声(背景音可以正常提取) #23

xisang233 opened this issue Oct 21, 2021 · 2 comments

Comments

@xisang233
Copy link

xisang233 commented Oct 21, 2021

--2021-10-21 23:15:39--  https://zenodo.org/record/5513378/files/resunet143_subbtandtime_vocals_8.8dB_350k_steps?download=1
正在解析主机 zenodo.org (zenodo.org)... 137.138.76.77
正在连接 zenodo.org (zenodo.org)|137.138.76.77|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 404 NOT FOUND
2021-10-21 23:15:40 错误 404:NOT FOUND。

↑ 看起来是因为模型文件404了......

命令为
python separate_scripts/separate.py --audio_path="(我的用户目录)/Desktop/test.mp3" --source_type="vocals"
全部信息如下

/Users/shihongsuo/opt/anaconda3/lib/python3.8/site-packages/librosa/core/audio.py:162: UserWarning: PySoundFile failed. Trying audioread instead.
  warnings.warn("PySoundFile failed. Trying audioread instead.")
Checkpoint path: /Users/shihongsuo/bytesep_data/resunet143_subbtandtime_vocals_8.8dB_350k_steps.pth
--2021-10-21 23:15:39--  https://zenodo.org/record/5513378/files/resunet143_subbtandtime_vocals_8.8dB_350k_steps?download=1
正在解析主机 zenodo.org (zenodo.org)... 137.138.76.77
正在连接 zenodo.org (zenodo.org)|137.138.76.77|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 404 NOT FOUND
2021-10-21 23:15:40 错误 404:NOT FOUND。

Traceback (most recent call last):
  File "separate_scripts/separate.py", line 67, in <module>
    separate(args)
  File "separate_scripts/separate.py", line 26, in separate
    separator = SeparatorWrapper(
  File "/Users/shihongsuo/opt/anaconda3/lib/python3.8/site-packages/bytesep/inference.py", line 255, in __init__
    checkpoint = torch.load(self.checkpoint_path, map_location='cpu')
  File "/Users/shihongsuo/opt/anaconda3/lib/python3.8/site-packages/torch/serialization.py", line 595, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/Users/shihongsuo/opt/anaconda3/lib/python3.8/site-packages/torch/serialization.py", line 764, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
EOFError: Ran out of input
@qiuqiangkong
Copy link
Collaborator

您好!请重新pull代码并pip install bytesep --upgrade即可。

@xisang233
Copy link
Author

问题解决了,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants