beetbox / beetbox/audioread

audioread.exceptions.NoBackendError

Open
#99 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
538
Forks
112
PR merge metrics
No merged PRs in 30d

Description

Getting the above error when attempting to run a script. The script in question is from the project https://github.com/thomas-bouvier/music-genre-recognition. When attempting to train the model by running main.py, I get the following traceback:
`
Traceback (most recent call last):
File "main.py", line 409, in
main(args)
File "main.py", line 80, in main
data_x, data_y = load_data(args.debug)
File "main.py", line 333, in load_data
signal, sr = librosa.load(path + "/" + subdir + "/" + file)
File "C:\Users\kevin\AnacondaPython\Lib\site-packages\librosa\core\audio.py", line 119, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "C:\Users\kevin\AnacondaPython\Lib\site-packages\audioread\__init__.py", line 116, in audio_open
raise NoBackendError()
audioread.exceptions.NoBackendError
`

I have installed ffmpeg, as others have suggested from what I've seen online but I still get the aforementioned error. I am using Windows 10.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the traceback from librosa.load into audioread.audio_open and inspect audioread/__init__.py around the NoBackendError on the reported Windows 10 setup. Reproduce the failure using the external project's main.py and installed ffmpeg. Done means identifying a reproducible backend-detection problem or documenting the required configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.