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

speechbrain library #3

Closed
baselebido opened this issue Jan 24, 2024 · 8 comments
Closed

speechbrain library #3

baselebido opened this issue Jan 24, 2024 · 8 comments

Comments

@baselebido
Copy link

i am trying to use your code for my project but speechbrain library doesn't satisfied to download, the following is the error message.
note: i used also virtual environment but it didn't works.

error message:
Collecting speechbrain
Using cached speechbrain-0.5.16-py3-none-any.whl.metadata (23 kB)
Collecting hyperpyyaml (from speechbrain)
Using cached HyperPyYAML-1.2.2-py3-none-any.whl.metadata (7.6 kB)
Collecting joblib (from speechbrain)
Using cached joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB)
Requirement already satisfied: numpy in c:\users\hp\appdata\local\programs\python\python312\lib\site-packages (from speechbrain) (1.26.3)
Requirement already satisfied: packaging in c:\users\hp\appdata\local\programs\python\python312\lib\site-packages (from speechbrain) (23.2)
Collecting scipy (from speechbrain)
Using cached scipy-1.12.0-cp312-cp312-win_amd64.whl.metadata (60 kB)
Collecting sentencepiece (from speechbrain)
Using cached sentencepiece-0.1.99.tar.gz (2.6 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
Traceback (most recent call last):
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Temp\pip-build-env-uiev7mk6\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Temp\pip-build-env-uiev7mk6\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\HP\AppData\Local\Temp\pip-build-env-uiev7mk6\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\HP\AppData\Local\Temp\pip-build-env-uiev7mk6\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 126, in
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 408, in check_call
retcode = call(*popenargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

and i used Visual Studio code to run it

@gorinars
Copy link

is this happening when you do pip install speechbrain?

I have not seen this error before but it's been forever since last time I used windows

@baselebido
Copy link
Author

baselebido commented Jan 24, 2024 via email

@gorinars
Copy link

From logs it appears that you use python 3.12. I can suggest a few things:

  • try using an older python version (I can confirm speechbrain is OK with 3.10)
  • update pip
    if none helps, perhaps ask in speechbrain community

@baselebido
Copy link
Author

ok, after running the code, how i can know the result of baby crying

@gorinars
Copy link

It is not quite clear which code you are running. I would suggest to start with our notebook to evaluate a pre-trained model

@baselebido
Copy link
Author

baselebido commented Jan 29, 2024 via email

@baselebido
Copy link
Author

i run the evaluate model, but i didn't see the result why the baby is crying like(hungry, discomfortable ...), and i didn't understand what is period (B. D) for babies voices,
can you help me what should i do to see the results.

@gorinars
Copy link

gorinars commented Feb 2, 2024

Sorry but CryCeleb data does not have labels like hungry, discomfort, etc. It is intended for verification challenge.

Please see detailed description of data and challenge in the paper

@gorinars gorinars closed this as completed Feb 2, 2024
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