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

Module error #131

Open
kbuwel opened this issue Oct 12, 2024 · 1 comment
Open

Module error #131

kbuwel opened this issue Oct 12, 2024 · 1 comment
Labels
windows problem Windows related issues

Comments

@kbuwel
Copy link

kbuwel commented Oct 12, 2024

I am using a conda virtual environment.
I used pip install "audio-separator[gpu for the first run.
I entered audio-separator a.wav --model_filename model_mel_band_roformer_ep_3005_sdr_11.4360.ckpt
and started downloading the model.
The problem was that it worked with cpu, not gpu.
conda install pytorch==cuda onnxruntime==cuda audio-separator -c pytorch -c conda-forge
The installation was completed and the following error was displayed.
Traceback (most recent call last):

File "C:\ProgramData\anaconda3\envs\audio\Scripts\audio-separator-script.py", line 9, in

sys.exit(main())

File "C:\ProgramData\anaconda3\envs\audio\lib\site-packages\audio_separator\utils\cli.py", line 122, in main from audio_separator.separator import Separator File "C:\ProgramData\anaconda3\envs\audio\lib\site-packages\audio_separator\separator_init_.py", line 1, in from . separator import Separator File "C:\ProgramData\anaconda3\envs\audio\lib\site-packages\audio_separator\separator\separator.py", line 15, in import yaml ModuleNotFoundError: No module named 'yaml'

@beveradb
Copy link
Collaborator

Sorry, I don't have enough info to know what has happened here - it seems like you're missing a dependency but I don't know how.

What is audio-separator-script.py?

Can you provide more detail, e.g. what version of Python, what version of audio-separator do you have, what dependencies exist in your environment, etc.?

I also have no way to test on Windows myself so can only provide limited support - it's probably a Windows problem 😅

@beveradb beveradb added the windows problem Windows related issues label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows problem Windows related issues
Projects
None yet
Development

No branches or pull requests

2 participants