We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
birdnet.utils.resample_array() throws an assertion error assert len(x.shape) == 1 when trying to predict using an audio file in stereo.
birdnet.utils.resample_array()
assert len(x.shape) == 1
I suggest the function should either:
Please resample to mono
predict_species_within_audio_file
I tested the behavior with audio files in WAV and FLAC formats, both stereo and mono, at 48kHz and other sample rates across all configurations.
birdnetversion 0.1.6
birdnet
The text was updated successfully, but these errors were encountered:
No branches or pull requests
birdnet.utils.resample_array()
throws an assertion errorassert len(x.shape) == 1
when trying to predict using an audio file in stereo.I suggest the function should either:
Please resample to mono
predict_species_within_audio_file
that lets the user specify a channel.I tested the behavior with audio files in WAV and FLAC formats, both stereo and mono, at 48kHz and other sample rates across all configurations.
birdnet
version 0.1.6The text was updated successfully, but these errors were encountered: