Open vikassingh2023 opened 1 year ago
If you have cloned the master branch instead of downloading from the release tab please download it from there.
Hello,
Thanks for answering but got new issue -
C:\ProgramData\Anaconda3\lib\site-packages\paramiko\transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
Traceback (most recent call last):
File "C:\Users\arman\Downloads\vocal-remover\inference.py", line 4, in np.complex
was a deprecated alias for the builtin complex
. To avoid this error in existing code, use complex
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128
here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Try with numpy==1.24.4
, it's the one I'm using
I ran into both these issues, and it turns out that in addition to numpy==1.24.4
, bumping to librosa==0.10.1
was needed
getting this while using C:\Windows\System32\vocal-remover>python inference.py --input C:\Users\shadow\Downloads\12_ladke.mp3 loading model... Traceback (most recent call last): File "C:\Windows\System32\vocal-remover\inference.py", line 184, in
main()
File "C:\Windows\System32\vocal-remover\inference.py", line 127, in main
model.load_state_dict(torch.load(args.pretrained_model, map_location=device))
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\serialization.py", line 271, in _open_file_like
return _open_file(name_or_buffer, mode)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\serialization.py", line 252, in init
super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'models/baseline.pth'